Skip to content

Instantly share code, notes, and snippets.

@sionc
Created May 17, 2013 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sionc/5597609 to your computer and use it in GitHub Desktop.
Save sionc/5597609 to your computer and use it in GitHub Desktop.
Basic heroku commands
Adding an existing database
$ git remote add heroku git@heroku.com:repository.git
Deploying to heroku
$ git push heroku local-branch:master
Resetting the database
$ heroku run rake db:drop
$ heroku run rake db:create
$ heroku run rake db:migrate
$ heroku run rake db:seed
or
$ heroku run rake db:reset
Heroku with Godaddy: http://stackoverflow.com/questions/7170664/how-to-configure-heroku-application-dns-to-godaddy-domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment