Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add note about enabling Bonsai
Marcin Gębalaaac1c4cadb87
diff --git a/docs/deployment/heroku.rst b/docs/deployment/heroku.rstindex 971554609e..ddfeb98fc2 100644--- a/docs/deployment/heroku.rst+++ b/docs/deployment/heroku.rst@@ -11,7 +11,6 @@ Configuration$ heroku addons:create heroku-postgresql:hobby-dev$ heroku addons:create heroku-redis:hobby-dev$ heroku addons:create sendgrid:starter- $ heroku addons:create bonsai:sandbox-6 --version=5.4$ heroku config:set ALLOWED_HOSTS='<your hosts here>'$ heroku config:set NODE_MODULES_CACHE=false$ heroku config:set NPM_CONFIG_PRODUCTION=false@@ -52,3 +51,14 @@ Then log into your Heroku account, find the Heroku Scheduler addon in the active.. code-block:: bashpython manage.py update_exchange_rates --all+++Enabling Elasticsearch+----------------------++By default, Saleor uses Postgres as a search backend, but if you want to switch to Elasticsearch, it can be easily achieved using the Bonsai plugin. In order to do that, run the following commands:++.. code-block:: bash++ heroku addons:create bonsai:sandbox-6 --version=5.4+ heroku run python manage.py search_index --create