Course repo https://github.com/micrum/course
$ git clone https://github.com/micrum/course-app.git
$ cd course-app
$ rvm get head && rvm reload
$ rvm install ruby-2.2.0
$ rvm use 2.2.0@course
$ rvm --rvmrc --create 2.2.0@course
$ gem install bundler && bundle install
$ sudo apt-get install postgresql
$ sudo su postgres
$ createuser -s username
Create database & update DB schema
$ rake db:create
$ rake db:migrate