Mailings management microservice for Tomoru.
Install dependencies using pip:
pip install -r requirements.txtor Poetry:
poetry installPoetry will install dev-dependencies as well. So use that if you are planning to contribute.
SECRET_KEY. You might want to use something like Djecrety or Python'ssecretsmodule to generate a secret key.DEBUG. A boolean value. Defaults toFalse.
Run the server:
gunicorn config.wsgiand run task processing:
python manage.py process_tasksYou might want to activate shell first with:
poetry shellRun tests using pytest:
pytest --cov=.
Note that for the build to be successful it has to have no flake8 errors and have >= 90% test coverage.