mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
* contributing guide -> asciidoc * Update docs/developer/contributing/index.asciidoc Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com> * Update CONTRIBUTING.md Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com> * Update docs/developer/best-practices/stability.asciidoc Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com> * Update docs/developer/contributing/index.asciidoc Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com> * address code review comments * Update docs/developer/contributing/development-documentation.asciidoc Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com> * review comment updates * fix bad ref Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
39 lines
No EOL
755 B
Text
39 lines
No EOL
755 B
Text
[[building-kibana]]
|
|
=== Building a {kib} distributable
|
|
|
|
The following commands will build a {kib} production distributable.
|
|
|
|
[source,bash]
|
|
----
|
|
yarn build --skip-os-packages
|
|
----
|
|
|
|
You can get all build options using the following command:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn build --help
|
|
----
|
|
|
|
[float]
|
|
==== Building OS packages
|
|
|
|
Packages are built using fpm, dpkg, and rpm. Package building has only been tested on Linux and is not supported on any other platform.
|
|
|
|
|
|
[source,bash]
|
|
----
|
|
apt-get install ruby-dev rpm
|
|
gem install fpm -v 1.5.0
|
|
yarn build --skip-archives
|
|
----
|
|
|
|
To specify a package to build you can add `rpm` or `deb` as an argument.
|
|
|
|
|
|
[source,bash]
|
|
----
|
|
yarn build --rpm
|
|
----
|
|
|
|
Distributable packages can be found in `target/` after the build completes. |