india-ultimate/sotg-accreditation-tracker

Use the Django Deployment Checklist before turning off Demo mode

punchagan opened this issue · 2 comments

Django's deployment checklist lists a bunch of useful things to check before deploying to production. It would be worth going through the checklist before advertising the app.
https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/

Demo mode has already been turned off. But, going through the checklist and making recommended changes is important!

  • Secret Key set
  • Debug mode turned off
  • Allowed hosts
  • Databases
  • Caches
  • No emails
  • No static files
  • No uploads
  • No local media
  • python manage.py check --delpoy
    Except for the HSTS setting, which seems like a risky thing to do if we move the app away from Heroku at some point. Leaving this turned off, for now.