Heroku is great for rapid prototyping and testing ideas. All you have to do is git push heroku master right? Wonderful.
However, sometimes deploying can be somewhat daunting, with so many errors messages to deal with. Below is my own Heroku deployment checklist:
Steps
Create an App on Heroku dashboard eg.
bobooboand select appropriate region.Copy Git URL in this case
git@heroku.com:boboobo.gitand rungit remote add heroku git@heroku.com:boboobo.gitin the App directory.After making changes in local directory, stage files, commit and then deploy code via
git push heroku masterorgit push heroku mod1:master(when deploying from branch mod1)
After generating migrations, do the following to avoid any nasty errors
heroku run rake db:migrateheroku run rake db:resetandheroku run rake db:setupheroku restartAlso do
heroku logs -tandheroku run consoleto check server logs and db in console respectively.
After successfully deploying this app you'll end up with a nice url like http://boboobo.herokuapp.com