From 22d07c84633ed5510e70d1ba7805e49ca44c1a6c Mon Sep 17 00:00:00 2001 From: Dave Jensen Date: Mon, 5 Aug 2013 15:07:50 -0700 Subject: [PATCH] Added missing `bundle install` instructions. I'm walking through the instructions and noticed that rake will not run unless a `bundle install` is performed so I added it to the instructions. --- docs/HEROKU.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/HEROKU.md b/docs/HEROKU.md index 105341833cd..2af10fe3c5b 100644 --- a/docs/HEROKU.md +++ b/docs/HEROKU.md @@ -57,15 +57,19 @@ For details on how to reduce the monthly cost of your application, see [Advanced heroku addons:add scheduler:standard -5. Generate a secret token in the terminal. +5. Run bundler + + bundle install + +6. Generate a secret token in the terminal. rake secret -6. Push the secret to the stored heroku environment variables, this will now be available to your app globally. +7. Push the secret to the stored heroku environment variables, this will now be available to your app globally. heroku config:add SECRET_TOKEN= -7. Precompile assets. +8. Precompile assets. There are two options for precompilation. Either precompile locally, **before each deploy** or enable [Heroku's experimental user-env-compile](https://devcenter.heroku.com/articles/labs-user-env-compile) feature and Heroku will precompile your assets for you. @@ -109,11 +113,11 @@ For details on how to reduce the monthly cost of your application, see [Advanced git add public/assets git push heroku heroku:master -8. Push your heroku branch to Heroku. +9. Push your heroku branch to Heroku. git push heroku heroku:master -9. Migrate and seed the database. +10. Migrate and seed the database. heroku run rake db:migrate db:seed_fu