git clone https://github.com/openHPI/codeharbor.git
cd codeharbor
bundle
rake db:migrate
rails s
Visit your browser at: http://localhost:3000/
Install virtual box. Install vagrant (http://vagrantup.com/)
git clone https://github.com/openHPI/codeharbor.git
cd codeharbor
vagrant up
Wait ~20 minutes.
vagrant ssh
cd /vagrant
rake db:migrate
rails s -b 0
Visit your browser at: http://localhost:3001/
Run all tests with
rspec .
or just one test (e.g. rspec spec/controllers/exercises_controller_spec.rb
)
You can find the coverage results in coverage/index.html