Clone the repo.
Make sure you have Docker installed.
Build the image:
❯ docker-compose build
Run the container:
❯ docker-compose up -d
Build the new image and spin up the containers:
❯ docker-compose up -d --build
Check the logs
❯ docker-compose logs -f
Create the table:
❯ docker-compose exec web python manage.py create_db
Seed first user
❯ docker-compose exec web python manage.py seed_first_user
Access the DB
❯ docker-compose exec db psql --username=dbuser --dbname=db_dev
List the databases
db_dev=# \l
Connect to db_dev
database
db_dev=# \c db_dev
db_dev=# \dt
Check that first user has been created
db_dev=# select * from users;