- Copy
config/database.yml.SAMPLE
toconfig/database.yml
and run:docker-compose -f docker-compose-dev.yml run --rm app bundle docker-compose -f docker-compose-dev.yml run --rm app rails db:setup
- Run
docker-compose
:docker-compose -f docker-compose-dev.yml up
- Open your favorite browser and open the web browser at http://localhost:3000/
- Login using the default credentials:
[email protected]/secret
- Create an
.env
file and define some variables:SHAREDLISTS_DB_PASSWORD= SHAREDLISTS_SECRET_KEY_BASE= MAILER_DOMAIN= MARIADB_ROOT_PASSWORD=
- Run
docker-compose
:docker-compose up -d