-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Mark Holmberg edited this page Jun 16, 2014
·
2 revisions
This is how to install it for now.
bundle install --path vendor/bundle
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
You can populate the various models with some fake data using the following rake tasks:
rake populate:campaigns:school_wide[repeat] # Creates some sample school-wide campaigns
rake populate:campaigns:teacher_based[repeat] # Creates some sample teacher-based campaigns
rake populate:contributions[repeat] # Creates some sample contributions
rake populate:contributors[repeat] # Creates some sample contributors
rake populate:districts[repeat] # Creates some sample districts
rake populate:schools[repeat] # Creates some sample schools
rake populate:teachers[repeat] # Creates some sample teachers
Once you run the seeds command, you'll have a default admin user. Login to the console and change their password.