Created
March 14, 2012 15:37
-
-
Save quentindecock/2037333 to your computer and use it in GitHub Desktop.
Crowdtap clean db priming for designers
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
echo "-> Clear Sniper DB ..." | |
cd ../sniper/ | |
bundle exec rake mongo:clear | |
echo "-> Clearing Crowdtap DB and priming the database ..." | |
cd ../crowdtap/ | |
RAILS_ENV=staging bundle exec rake ct:dev:prime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is how you want to run it:
Move to the crowdtap directory then copy and paste that line in your terminal,
curl -L https://raw.github.com/gist/2037333/reset_designer_environment.sh | sh