Skip to content

Instantly share code, notes, and snippets.

@quentindecock
Created March 14, 2012 15:37
Show Gist options
  • Save quentindecock/2037333 to your computer and use it in GitHub Desktop.
Save quentindecock/2037333 to your computer and use it in GitHub Desktop.
Crowdtap clean db priming for designers
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
@quentindecock
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment