Commit 53829ad811db389495bcb1cacde9234a5c5ae95b

Authored by Andrew Kane
1 parent 88eafeec

Use searchbox

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
README.md
... ... @@ -216,18 +216,18 @@ Product.search "2% Milk", facets: {store_id: {where: {in_stock: true}}}
216 216  
217 217 ## Deployment
218 218  
219   -### Bonsai on Heroku
  219 +### SearchBox on Heroku
220 220  
221 221 Install the add-on:
222 222  
223 223 ```sh
224   -heroku addons:add bonsai
  224 +heroku addons:add searchbox:starter
225 225 ```
226 226  
227   -And create an initializer `config/initializers/bonsai.rb` with:
  227 +And create an initializer `config/initializers/elasticsearch.rb` with:
228 228  
229 229 ```ruby
230   -ENV["ELASTICSEARCH_URL"] = ENV["BONSAI_URL"]
  230 +ENV["ELASTICSEARCH_URL"] = ENV["SEARCHBOX_URL"]
231 231 ```
232 232  
233 233 Then deploy and reindex:
... ...