A system to oversee student teams, built in 7 days on Rails, for a software design class (SEG3102). Now that the class is over, I'm slowly turning it into a testing ground.
2.2.1
You will need the following installed:
- Ruby
- PostgreSQL
- A Ruby version manager (rvm/rbenv)
- Homebrew, if developing on OSX
Depending on your system and setup, configuration of the above will vary. Ther are plenty of good tutorials online!
To set up the pg database via console, login to postres, then run the following command
create role tms with createdb login password 'password1';
Clone the repository, then run:
bundle install
Remove the template file ending from database.yml
cp config/database.yml.tmpl config/database.yml
and modify the file to match your local pg database settings (should already match)
In console, setup the db and run the server:
rake db:setup
rails s
If everything well went, you should be live!
Shoutout to my team who modeled the app and created the final document and diagrams for the class.
Sprockets Rails is released under the MIT License.