Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created January 29, 2013 01:52
Show Gist options
  • Save metaskills/4660994 to your computer and use it in GitHub Desktop.
Save metaskills/4660994 to your computer and use it in GitHub Desktop.
HomeMarks' bin/setup
#!/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.
"
@jpfuentes2
Copy link

@metaskills not sure if the above comment pings you.

@metaskills
Copy link
Author

Interesting. It did not ping me!!! I think I can put those commands together, but I feel like I am getting more bang for my buck when they are put out like that :)

@jpfuentes2
Copy link

You mean more slowness for your bundle?

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