Skip to content

Instantly share code, notes, and snippets.

@MatthewRDodds
Last active December 9, 2016 15:47
Show Gist options
  • Save MatthewRDodds/fb3ce33fe4a7ce3f4b9c9f2fe87edb2b to your computer and use it in GitHub Desktop.
Save MatthewRDodds/fb3ce33fe4a7ce3f4b9c9f2fe87edb2b to your computer and use it in GitHub Desktop.
Seed staging database on heroku
heroku pg:reset DATABASE_URL --remote heroku-dev
heroku run rake db:migrate --remote heroku-dev
heroku run bash --remote heroku-dev
bundle install --with development
rake db:seed_fu RAILS_ENV=development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment