The api for the yolo project
Make sure that rvm is installed correctly with:
$ rvm -v
Install and set ruby 2.3.0 as default ruby version:
$ rvm install 2.3.0
$ rvm use ruby-2.3.0
Install the bundler
gem:
$ gem install bundler
From inside application directory, install gem dependencies:
$ bundle install
Create and seed the database:
$ rake db:create
$ rake db:migrate
$ rake db:seed
Drop database (drop then create / seed to refresh app data)
$ rake db:drop
Run the rspec tests with:
$ rake spec
Serve rails on :3000:
$ rails s
Api spec available at: http://vm344a.se.rit.edu/apipie