- Start the db:
sudo docker compose -f docker-compose.yml -p expenses_server up
- Start the server on port 8090:
poetry run uvicorn expenses_server.main:app --reload --port=8090 --use-colors
- Running tests
poetry run pytest # runs all tests
poetry run pytest -s --pdb # helpful for debugging tests
- Kill the containers and remove volumes
sudo docker compose -f docker-compose.yml -p expenses_server down --remove-orphans --volumes