You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
649 B

4 years ago
4 years ago
4 years ago
4 years ago
  1. # foerderbarometer
  2. purpose: gather data from intern(WMDE) and extern(volunteers) forms to create a database ('förderdatenbank') and send emails with links for a questionary.
  3. ## Should be executed daily
  4. python3 manage.py sendmails
  5. ## versions used in development
  6. python 3.8.2
  7. django 3.1.1
  8. django-formtools 2.2
  9. whitenoise 5.2.0
  10. ## production setup
  11. cp foerderbarometer/settings_production.py foerderbarometer/settings.py
  12. edit /secrets.json to contain something similar to
  13. {
  14. "DATABASE_PASSWORD": "THIS IS TOP SECRET!"
  15. }
  16. python manage.py collectstatic
  17. add to cron one time a day:
  18. python manage.py sendmails