Benni Baermann c3e0fb250f | 4 years ago | |
---|---|---|
foerderbarometer | 4 years ago | |
input | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
manage.py | 4 years ago |
purpose: gather data from intern(WMDE) and extern(volunteers) forms to create a database ('förderdatenbank') and send emails with links for a questionary.
python3 manage.py sendmails
python 3.8.2
django 3.1.1
django-formtools 2.2
whitenoise 5.2.0
cp foerderbarometer/settings_production.py foerderbarometer/settings.py
edit /secrets.json to contain something similar to
{ "DATABASE_PASSWORD": "THIS IS TOP SECRET!" }
python manage.py collectstatic
add to cron one time a day:
python manage.py sendmails