Skip to content

Instantly share code, notes, and snippets.

@fabiancarlos
Created October 31, 2012 15:01
Show Gist options
  • Save fabiancarlos/3987520 to your computer and use it in GitHub Desktop.
Save fabiancarlos/3987520 to your computer and use it in GitHub Desktop.
Heroku Essential Comands
heroku logs # visualize the logs executions of the website
heroku pg:reset SHARED_DATABASE # To drop the database, if using SHARED_DATABASE_URL
heroku run rake db:migrate # To recreate the database with nothing in it
heroku run rake db:seed # To populate the database with your seed data
heroku run rake db:setup # You can combine the last two into one action by executing this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment