Update Gemfile to include 'rails_12factor'.
Update database.yml with Heroku PostgreSQL details.