I enjoy trialling new Rails apps on Heroku before taking them too seriously. They’ve made deployment a breeze. For reference, here are some common commands I use daily.
After finishing a new feature:
git add . git commit -m 'amazing new feature' git push origin master git push heroku master
And if you need to migrate the database:
heroku rake db:migrate
If shit hits the fan, you can tail the logs:
heroku logs --tail
A side note. For Rails 3.1 it seems I need to precompile assets before pushing to Heroku. To do so, run:
RAILS_ENV=production bundle exec rake assets:precompile
And there’s plenty more in the Heroku DevCenter.