Skip to content

Instantly share code, notes, and snippets.

@joeswann
Last active June 14, 2018 00:56
Show Gist options
  • Save joeswann/8e395dec0fb9df92d3aa to your computer and use it in GitHub Desktop.
Save joeswann/8e395dec0fb9df92d3aa to your computer and use it in GitHub Desktop.
[rails_reset.sh] Reset tables, precompile assets, etc
rake db:drop;rake db:create; rake db:migrate; rake db:seed;
bundle exec rake assets:precompile RAILS_ENV=production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment