Created
May 17, 2013 07:58
-
-
Save sionc/5597609 to your computer and use it in GitHub Desktop.
Basic heroku commands
This file contains 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
Adding an existing database | |
$ git remote add heroku [email protected]: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