This is a web app to generate personalised documents for gender diverse people to use as an aid in their conversations with their GPs around accessing gender affirming care.
cd app/
pip install -r requirements.txt
PDF_API_KEY=<your-pdf-api-key> # api key for conversion to PDF: convertapi.com
RECAPTCHA_PUBLIC_KEY=<your-recaptcha-public-key> # google recaptcha public key
RECAPTCHA_PRIVATE_KEY=<your-recaptcha-private-key> # google recaptcha private key
IS_DEV = 1 # set to 1 to disable caching
PDF_LIMIT = 100/minute # set rate limit for pdf downloads (see flask-limiter documentation)
gunicorn -w 4 -b 127.0.0.1:8000 main:app