Commit afe7344d authored by Valery Sizov's avatar Valery Sizov

ES documentation: Fix rake command

parent 9273de85
...@@ -67,7 +67,7 @@ Configure Elasticsearch's host and port in **Admin > Settings**. Then create emp ...@@ -67,7 +67,7 @@ Configure Elasticsearch's host and port in **Admin > Settings**. Then create emp
sudo gitlab-rake gitlab:elastic:create_empty_index sudo gitlab-rake gitlab:elastic:create_empty_index
# Installations from source # Installations from source
bundle exec rake gitlab:elastic:create_empty_index bundle exec rake gitlab:elastic:create_empty_index RAILS_ENV=production
``` ```
...@@ -219,7 +219,7 @@ To minimize downtime of the search feature we recommend the following: ...@@ -219,7 +219,7 @@ To minimize downtime of the search feature we recommend the following:
sudo gitlab-rake gitlab:elastic:create_empty_index sudo gitlab-rake gitlab:elastic:create_empty_index
# Installations from source # Installations from source
bundle exec rake gitlab:elastic:create_empty_index bundle exec rake gitlab:elastic:create_empty_index RAILS_ENV=production
``` ```
1. Index all repositories using the `gitlab:elastic:index_repositories` Rake 1. Index all repositories using the `gitlab:elastic:index_repositories` Rake
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment