The backend application of YappaBot, version 0.13.1
- Docker (needed)
- Docker Compose (needed)
- Make (highly recommended)
- Poetry (highly recommended)
Create your local settings (i.e., environment variables)
make setlocalenv
Build the images
docker-compose build --parallel
Optional: drop the database
docker-compose down --volumes
Run the migrations
(Tip: the database might not be ready yet; if it fails then try again)
make migrate
Run the application
docker-compose up
Stop the apps (on another terminal)
docker-compose down
Create a development-friendly virtual environment
make createvenv
Un-ignore new files at the .dockerignore
as needed.