diff options
author | Evan Read <eread@gitlab.com> | 2019-09-02 07:33:37 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-09-02 07:33:37 +0300 |
commit | a1a6def114613500a8e84b6eb2285c023ab1ace8 (patch) | |
tree | 5f3df205b462da31056290cc9e72e3ea6c26b374 /doc/integration/elasticsearch.md | |
parent | 34357e03866e73c17df60ba003d46482193cbcd4 (diff) | |
parent | ee554151ea78fab198a070dcf32e0d4370bb5660 (diff) |
Merge branch 'ee-11670-update-indexer-installation-docs' into 'master'
Update elasticsearch indexer installation instructions
Closes gitlab-ee#11670
See merge request gitlab-org/gitlab-ce!32274
Diffstat (limited to 'doc/integration/elasticsearch.md')
-rw-r--r-- | doc/integration/elasticsearch.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/integration/elasticsearch.md b/doc/integration/elasticsearch.md index dc4aa9a5373..c8c1bb00d83 100644 --- a/doc/integration/elasticsearch.md +++ b/doc/integration/elasticsearch.md @@ -92,10 +92,11 @@ export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:$PKG_CONFIG_PATH" To build and install the indexer, run: ```sh -git clone https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer.git -cd gitlab-elasticsearch-indexer -make -sudo make install +indexer_path=/home/git/gitlab-elasticsearch-indexer + +# Run the installation task for gitlab-elasticsearch-indexer: +sudo -u git -H bundle exec rake gitlab:indexer:install[$indexer_path] RAILS_ENV=production +cd $indexer_path && sudo make install ``` The `gitlab-elasticsearch-indexer` will be installed to `/usr/local/bin`. |