Commit 27b0cc98e004d9a397a995ca61696d5b2552c937
1 parent
8a1d602b
Exists in
master
and in
19 other branches
Updated Heroku docs - fixes #1063
Showing
1 changed file
with
20 additions
and
8 deletions
Show diff stats
README.md
@@ -1055,20 +1055,32 @@ Searchkick uses `ENV["ELASTICSEARCH_URL"]` for the Elasticsearch server. This de | @@ -1055,20 +1055,32 @@ Searchkick uses `ENV["ELASTICSEARCH_URL"]` for the Elasticsearch server. This de | ||
1055 | 1055 | ||
1056 | ### Heroku | 1056 | ### Heroku |
1057 | 1057 | ||
1058 | -Choose an add-on: [SearchBox](https://elements.heroku.com/addons/searchbox), [Bonsai](https://elements.heroku.com/addons/bonsai), or [Elastic Cloud](https://elements.heroku.com/addons/foundelasticsearch). | 1058 | +Choose an add-on: [Bonsai](https://elements.heroku.com/addons/bonsai) or [Elastic Cloud](https://elements.heroku.com/addons/foundelasticsearch). [SearchBox](https://elements.heroku.com/addons/searchbox) does not work at the moment. |
1059 | 1059 | ||
1060 | -```sh | ||
1061 | -# SearchBox | ||
1062 | -heroku addons:create searchbox:starter | ||
1063 | -heroku config:set ELASTICSEARCH_URL=`heroku config:get SEARCHBOX_URL` | 1060 | +For Bonsai: |
1064 | 1061 | ||
1065 | -# Bonsai | 1062 | +```sh |
1066 | heroku addons:create bonsai | 1063 | heroku addons:create bonsai |
1067 | heroku config:set ELASTICSEARCH_URL=`heroku config:get BONSAI_URL` | 1064 | heroku config:set ELASTICSEARCH_URL=`heroku config:get BONSAI_URL` |
1065 | +``` | ||
1066 | + | ||
1067 | +For Found: | ||
1068 | 1068 | ||
1069 | -# Found | 1069 | +```sh |
1070 | heroku addons:create foundelasticsearch | 1070 | heroku addons:create foundelasticsearch |
1071 | -heroku config:set ELASTICSEARCH_URL=`heroku config:get FOUNDELASTICSEARCH_URL` | 1071 | +heroku addons:open foundelasticsearch |
1072 | +``` | ||
1073 | + | ||
1074 | +Visit the Shield page and reset your password. You’ll need to add the username and password to your url. Get the existing url with: | ||
1075 | + | ||
1076 | +```sh | ||
1077 | +heroku config:get FOUNDELASTICSEARCH_URL | ||
1078 | +``` | ||
1079 | + | ||
1080 | +And add `elastic:password@` right after `https://`: | ||
1081 | + | ||
1082 | +```sh | ||
1083 | +heroku config:set ELASTICSEARCH_URL=`https://elastic:password@12345.us-east-1.aws.found.io` | ||
1072 | ``` | 1084 | ``` |
1073 | 1085 | ||
1074 | Then deploy and reindex: | 1086 | Then deploy and reindex: |