Created
June 10, 2013 15:13
-
-
Save rymawby/5749553 to your computer and use it in GitHub Desktop.
Deploying a rails app to Heroku - the little things I need to remind myself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update rake file to use thin and pg when in production | |
| group :development, :test do | |
| gem 'sqlite3' | |
| end | |
| group :production do | |
| gem 'thin' | |
| gem 'pg' | |
| end | |
| # deploy to server | |
| rails push heroku master | |
| # migrate database | |
| heroku run rake db:migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment