Ruby on Rails API for the Napoly Project
To install the Ruby on Rails application run
bundle install
rails db:reset
Make sure the redis token store is running. If it is not, you will not be able to log in to the app. The setup instructions for Redis can be found here. In case you're using a mac and homebrew, this will make your life a lot easier. Once redis is running, you can start the API:
rails s
The API Seed which has been called with rails db:reset
contains an example user with username testuser@example.com
and password password
. It also generates three Semesters and two departments so you are ready to add subjects.
If you want to clean the database and return to this state, run the command again.
Would you like to support the Napoly Team by chipping in for a coffee, a beer or even parts of the server and domain fee? We're happy about any help we can get!
Copyright © 2019 Marco Trentini.
This project is MIT License licensed.