Clone the repository:
% git clone git@github.com:suzukimilanpaak/rails5-docker-macos.git
% cd rails5-docker-macos
Build and run the containers:
% docker compose up
Attach your shell to the web service:
% docker exec --tty --interactive web bash
Run the migration. There is a predefined migration used to test the behaviour of the time column, which became zone-aware in Rails 5. More details can be found here.
# bundle exec rake db:create db:migrate
[Optional] Open the following URL in a browser to see the default Rails welcome page:
Explore the new behaviour of Rails 5:
# bundle exec rails console