summaryrefslogtreecommitdiff
path: root/doc/integration/elasticsearch.md
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-08-27 14:52:37 +0100
committerNick Thomas <nick@gitlab.com>2019-08-27 15:00:23 +0100
commitee554151ea78fab198a070dcf32e0d4370bb5660 (patch)
tree74435eed01e7840d97c90b7e5372a10872fcf28f /doc/integration/elasticsearch.md
parentf7f3b3c3efd58f31ed422808722b0c81a0bf1064 (diff)
downloadgitlab-ce-ee554151ea78fab198a070dcf32e0d4370bb5660.tar.gz
Update elasticsearch indexer installation instructions
Diffstat (limited to 'doc/integration/elasticsearch.md')
-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 eee05eaef02..56a5db01659 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`.