summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-09-02 04:33:37 +0000
committerEvan Read <eread@gitlab.com>2019-09-02 04:33:37 +0000
commita1a6def114613500a8e84b6eb2285c023ab1ace8 (patch)
tree5f3df205b462da31056290cc9e72e3ea6c26b374
parent34357e03866e73c17df60ba003d46482193cbcd4 (diff)
parentee554151ea78fab198a070dcf32e0d4370bb5660 (diff)
downloadgitlab-ce-a1a6def114613500a8e84b6eb2285c023ab1ace8.tar.gz
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
-rw-r--r--doc/integration/elasticsearch.md9
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`.