From d3b09285b053001660f9fc4bcc0af05d6ac46a73 Mon Sep 17 00:00:00 2001 From: Ari Date: Sun, 3 Dec 2017 14:32:09 -0800 Subject: [PATCH] Update README.md Update incorrect or outdated instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b713bfc..183c266 100644 --- a/README.md +++ b/README.md @@ -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= FB_TOKEN=""` (declare environment variables) + - `heroku config:set FB_NAME= FB_SERVICEACCOUNT=""` (declare environment variables) - `git add config.js` (update) - `git commit -m "configure bonsai"` - `git push heroku master` (deploy to heroku) @@ -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 /firebase` (ex: https://user:pass@yourbonsai.bonsai.io/firebase) + - `curl -X PUT /firebase` (ex: https://user:pass@yourbonsai.bonsai.io/firebase) Migration =========