Archive for the ‘Heroku’ Category

Rails Git Heroku Terminal command notes

Wednesday, January 19th, 2011

first cd to the project directory:

git init

git add .

git commit master

heroku create “NewApplicationName”

git push heroku master

heroku rake db:schema:load

rake db:schema:dump (handy to dump local db if you’ve been modifying it w/o migrations…)

heroku rake db:migrate