Table of Contents
# Clone the repo
$ git clone https://github.com/MaxWofford/actuary-canary && cd actuary-canary
# Build with docker-compose
$ docker-compose build
# Generate a secret key for development
$ touch .env && echo "SECRET_KEY_BASE=$(docker-compose run web rails secret)" >> .env
# Create the db
$ docker-compose run web rails db:create db:migrate
# Launch the server
$ docker-compose up
Generate a model diagram with:
$ docker-compose run web erd