Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sophiebits/schedule-plus


https://github.com/sophiebits/schedule-plus

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

Seeding the database
====================

- Rake task found in lib/tasks/seed.rake
- Seeding logic found in app/models/seeder.rb
- Use this instead of rake db:seed

rake seed:semesters
- Seeds the db with semesters

rake seed:soc semester="Spring 2012"
- requires semesters to be seeded first
- semester field is optional (will use current semester)
- Seeds the db with SoC data
- also seeds db with Department data

rake seed:all
- Runs all the above tasks