Create a virtual env
python -m venv env
Activate virtual env
source env/bin/activate
Install packages from requirements.txt
pip install -r requirements.txt
Create the following files
- Copy
.env.dist
to.env
and complete - Copy
users.json.dist
tousers.json
and add users - Copy
email_template.txt.dist
toemail_template.txt
and update if needed
To display debug messages set MODE
to dev
in .env
MODE=dev
To send emails set SEND_EMAIL
to true
in .env
SEND_EMAIL=true
To run the script without seeing the output stream the command output to a file in debug
python app.py > debug/output.txt
No peaking at the output file!