Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 938 Bytes

README.md

File metadata and controls

53 lines (39 loc) · 938 Bytes

Code Grader

Demo can be found here https://code-grader.herokuapp.com

Install

Install docker

https://docs.docker.com/get-docker/

Clone the repository

git clone [email protected]:islamodeh/code_grader.git
cd code_grader/

Check your Ruby version

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

Install dependencies

Using Bundler and Yarn:

bundle install

Initialize the database

  • copy cofig/database.example.yml to config/database.yml and add your DB credentials.
rails db:create db:migrate db:seed

Prepare Docker Images

  • Make sure docker is running locally
rake os:prepare_c_vm

Run the server

rails s

Check http://localhost:3000