- Python 3.11+
- Poetry installed
- Docker installed
cd docker
docker-compose up --build
- Install Tilt
tilt upTilt will run ./docker/docker-compose.yaml, observes changes at ./todoapp and automatically rebuilds the containers.
Clean up:
tilt downRename the .env.sample file to .env within the project folder or export the MONGODB_URI environment variable manually with $ export MONGODB_URI=<YOUR_URI>. The application can be started in development mode via Poetry.
poetry install
poetry run startIf you want to run tests and checks locally in an isolated environment. Useful if you want to make sure that all tests pass before passing new code to a CI/CD pipeline.
Enter poetry shell where all the dependencies are available:
poetry shellRun all tests and stylechecks.
toxRun tests and stylechecks seperately.
tox -e test_app
tox -e checkssh scripts/push_new_tag.sh vX.X.X