kibana/docs/developer/getting-started/building-kibana.asciidoc
Stacey Gammon a20469f038
Clean up the developer guide (#71631)
* rename float to discrete

* use same section title level on all source files

* Elasticsearch => {es}

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-16 10:13:51 -04:00

39 lines
No EOL
756 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
----
[discrete]
=== 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.