ruby version: 2.4.2
gemset: bouquiniste
time to perform: 3 hours
Install Ruby Version Manager:
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
Relaunch a console
Install ruby:
rvm install 2.4.2
Install gems:
rvm use
gem install bundler
bundle install
Create migrations and fill seeds:
rake db:create db:migrate db:seed
Start your Rails server:
rails start
rails test
- Create a show action in a BookController
- Add tests for show action
- Fill view for an index action - create list of books
- Add simple css styles for index action
Send completed tasks to ruby@sibext.com