Skip to content

Instantly share code, notes, and snippets.

@jpfuentes2
Forked from metaskills/gist:4660994
Created January 29, 2013 02:27
Show Gist options
  • Save jpfuentes2/4661192 to your computer and use it in GitHub Desktop.
Save jpfuentes2/4661192 to your computer and use it in GitHub Desktop.
#!/bin/sh
bundle install --binstubs
bundle exec rake db:drop RAILS_ENV=development
bundle exec rake db:drop RAILS_ENV=test
bundle exec rake db:create:all
bundle exec rake db:setup
bundle exec rake db:development:accounts
echo "
Created the following users. All have the password 'test':
* bob@test.com <= From test suite. Basic user with basic data.
* newuser@test.com <= From test suite. New user.
* ken@actionmoniker.com <= Development account. Full set of colors and box options for GUI testing.
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment