README

Install Docker

Environment

  • cp env.sample to .env

create local network

  • docker network create local-network

create database

  • docker compose run --rm web rails db:create

migrate

  • docker compose run --rm web rails db:migrate

run the app

run specs

  • docker compose run -e "RAILS_ENV=test" web bundle exec rspec