Run the following commands in the console below:
cd ~/workspace/sample_app_rails_4
cp config/database.yml.example config/database.yml
bundle install
bundle exec rake db:migrate
bundle exec rails server
By clicking on Preview > Port 3000, you can now preview your sample Rails App.
To check out more code, you can run tests, edit code and continue to iterate on this application. To run the test suite, run the following commands in the console:
cd ~/workspace/sample_app_rails_4
bundle exec rake db:test:prepare
bundle exec rspec spec