- Setup:
- Create a virtual environment with venv:
python3 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Install dependencies from requirements file:
pip install -r requirements.txt
- Create a virtual environment with venv:
- Configure:
- Set environment variables in the
template.env
file with proper values. - Rename
template.env
to.env
:mv template.env .env
- Set environment variables in the
- Run tests to check that config values are set, compose a test email message, and test smtp settings:
make test
- Run the application:
make run
make docker.build
make docker.run
python3 main.py --help
for more info.
Easier:
make all
will load your .env, format, lint, test, and run the application.
Format, lint, and test before commiting:
make precommit