mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
Migrate docs from AsciiDoc to Markdown. The preview can be built after #212557 is merged. @florent-leborgne please tag reviewers, add the appropriate label(s), and take this out of draft when you're ready. Note: More files are deleted than added here because the content from some files was moved to [elastic/docs-content](https://github.com/elastic/docs-content). **What has moved to [elastic/docs-content](https://github.com/elastic/docs-content)?** Public-facing narrative and conceptual docs have moved. Most can now be found under the following directories in the new docs: - explore-analyze: Discover, Dashboards, Visualizations, Reporting, Alerting, dev tools... - deploy-manage: Stack management (Spaces, user management, remote clusters...) - troubleshooting: .... troubleshooting pages **What is staying in the Kibana repo?** - Reference content (= anything that is or could be auto-generated): Settings, syntax references - Release notes - Developer guide --------- Co-authored-by: Florent Le Borgne <florent.leborgne@elastic.co>
38 lines
968 B
Markdown
38 lines
968 B
Markdown
---
|
|
mapped_pages:
|
|
- https://www.elastic.co/guide/en/kibana/current/building-kibana.html
|
|
---
|
|
|
|
# Building a Kibana distributable [building-kibana]
|
|
|
|
The following command will build a {{kib}} production distributable:
|
|
|
|
```bash
|
|
yarn build --skip-os-packages
|
|
```
|
|
|
|
You can get all build options using the following command:
|
|
|
|
```bash
|
|
yarn build --help
|
|
```
|
|
|
|
|
|
## Building OS packages [_building_os_packages]
|
|
|
|
Packages are built using fpm, dpkg, and rpm, and Docker. Package building has only been tested on Linux and is not supported on any other platform. Docker installation instructions can be found at [Install Docker Engine](https://docs.docker.com/engine/install/).
|
|
|
|
```bash
|
|
apt-get install ruby ruby-dev rpm dpkg build-essential
|
|
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.
|
|
|
|
```bash
|
|
yarn build --rpm
|
|
```
|
|
|
|
Distributable packages can be found in `target/` after the build completes.
|
|
|