Go to file
Benni Bärmann c3e0fb250f added whitenoise to serve static files 2020-11-09 16:04:36 +01:00
foerderbarometer added whitenoise to serve static files 2020-11-09 16:04:36 +01:00
input GO AWAY! 2020-11-09 12:42:29 +01:00
.gitignore secrets file mechanism added to have a way to store passwd out of git 2020-11-06 12:00:01 +01:00
LICENSE Initial commit 2020-09-21 11:31:02 +00:00
README.md added whitenoise to serve static files 2020-11-09 16:04:36 +01:00
manage.py new django project 2020-09-21 14:27:16 +02:00

README.md

foerderbarometer

purpose: gather data from intern(WMDE) and extern(volunteers) forms to create a database ('förderdatenbank') and send emails with links for a questionary.

Should be executed daily

python3 manage.py sendmails

versions used in development

python 3.8.2
django 3.1.1
django-formtools 2.2
whitenoise 5.2.0

production setup

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