docker-compose build
# Ensure database has started before the application.
docker-compose up -d db
docker-compose up -d app
# Initialize the newly created database.
docker-compose exec app flask create_db
# Populate database with dummy data
docker-compose exec app flask populate_db
To run a complete test suite including test db:
docker-compose run app python -m pytest