Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Deploy to Heroku
- `heroku create` (add heroku to project)
- `heroku addons:add bonsai` (install bonsai)
- `heroku config` (check bonsai instance info and copy your new BONSAI_URL - you will need it later)
- `heroku config:set FB_NAME=<instance> FB_TOKEN="<token>"` (declare environment variables)
- `heroku config:set FB_NAME=<instance> FB_SERVICEACCOUNT="<token>"` (declare environment variables)
- `git add config.js` (update)
- `git commit -m "configure bonsai"`
- `git push heroku master` (deploy to heroku)
Expand All @@ -55,7 +55,7 @@ Deploy to Heroku

After you've deployed to Heroku, you need to create your initial index name to prevent IndexMissingException error from Bonsai. Create an index called "firebase" via curl using the BONSAI_URL that you copied during Heroku deployment.

- `curl -X POST <BONSAI_URL>/firebase` (ex: https://user:pass@yourbonsai.bonsai.io/firebase)
- `curl -X PUT <BONSAI_URL>/firebase` (ex: https://user:pass@yourbonsai.bonsai.io/firebase)

Migration
=========
Expand Down