Resource: https://devcenter.heroku.com/articles/rack
-
gem install heroku
-
heroku create
-
git push heroku master -
Potential Error:
Permission denied public keys -
Why: Heroku needs to have you public id_rsa key to interact with you GitHub repository on your behalf.
-
Solution:
heroku keys:add ~/.ssh/id_rsa.pubThis command pushes the public key up to Heroku so it may interact with you repository.
-
heroku openopens your heroku app your default browser -
heroku logswill display the log information to help debug errors -
heroku ps:scale web=1may be required to scale the application's Heroku web workers, or processes, from zero to one