Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 82ad8d4ddd
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 16 lines (15 sloc) 0.434 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
bundle install
read -p "Drop Db? [y/N]" DROP_DB
if [ "$DROP_DB" == "y" ]
then
rake db:drop
rake db:create
fi
rake db:migrate
if [ "$DROP_DB" == "y" ]
then
echo "run the following command (or some variation thereof) in the console to set up your first user"
echo "AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password')"
bundle exec rails console
fi
bash startup_rails.sh
Something went wrong with that request. Please try again.