Rails Git Heroku Terminal command notes

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

Leave a Reply

You must be logged in to post a comment.