- Docker (incl. Docker Compose, which already part of Docker for Mac and Docker Toolbox)
cp .env-example .env
Build the containers:
docker-compose build
Start up all of the containers:
docker-compose up
Visit http://localhost:3000
Add the dependency to the Gemfile and run:
docker-compose run web bundle
Followed by:
docker-compose build
Create:
docker-compose run web bin/rails db:create
Migrations:
docker-compose run web bin/rails db:migrate
Seed:
docker-compose run web bin/rails db:seed
Uses rspec
docker-compose run web bin/rspec
To use guard to watch the tests:
docker-compose run web bin/guard