foerderbarometer/README.md

31 lines
649 B
Markdown
Raw Normal View History

2020-09-21 11:31:02 +00:00
# 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.
2020-10-01 08:19:17 +00:00
2020-11-06 11:13:50 +00:00
## Should be executed daily
2020-11-06 14:08:42 +00:00
python3 manage.py sendmails
2020-11-06 11:13:50 +00:00
## versions used in development
2020-10-01 08:19:17 +00:00
python 3.8.2
django 3.1.1
django-formtools 2.2
2020-11-09 15:04:36 +00:00
whitenoise 5.2.0
2020-11-06 11:11:38 +00:00
2020-11-06 11:13:50 +00:00
## production setup
2020-11-06 11:11:38 +00:00
cp foerderbarometer/settings_production.py foerderbarometer/settings.py
2020-11-09 15:04:36 +00:00
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