Demo can be found here https://code-grader.herokuapp.com
https://docs.docker.com/get-docker/
git clone git@github.com:islamodeh/code_grader.git
cd code_grader/
ruby -v
The ouput should start with something like ruby 2.6
If not, install the right ruby version using rvm(it could take a while):
rvm install 2.6
bundle install
- copy cofig/database.example.yml to config/database.yml and add your DB credentials.
rails db:create db:migrate db:seed
- Make sure docker is running locally
rake os:prepare_c_vm
rails s
Check http://localhost:3000