After cloning the repository:
- Install dependencies: bundle install
- Run tests: bundle exec rake
- Create the database: PADRINO_ENV=development bundle exec rake db:migrate
- Populate the database: PADRINO_ENV=development bundle exec rake db:seed
- Run the application: bundle exec padrino start
Note: the current implementation depends on Dropbox to store assignments files, so the following environment variables must be set:
- DROPBOX_APP_KEY
- DROPBOX_APP_SECRET
- DROPBOX_REQUEST_TOKEN_KEY
- DROPBOX_REQUEST_TOKEN_SECRET
- DROPBOX_AUTH_TOKEN_KEY
- DROPBOX_AUTH_TOKEN_SECRET
There is a new variable which affects sending mails to student at time test result status is received. The variable is MAIL_PREVENT_NOTIFICATION_FOR. If it's set to test_result then mails about test execution status will not be sent to student. Otherwise, mail notifier will work as heretofore.
After performing these steps you can use the following users to log into the application:
- [email protected], Passw0rd!
- [email protected], Passw0rd!
- [email protected], Passw0rd!
Private documentation is available here.