Produktivbetrieb ================ **Empfohlene Betriebssysteme** * `Debian`_ 11: * `Debian`_ 12: .. _Debian: https://www.debian.org/index.de.html **Datenbank** `PostGIS`_ - Installation als deb-Paket - siehe github README. .. _PostGIS: https://postgis.net/ **clamav** `ClamAV`_ - der Virenscanner wird als deb-Paket installiert und läuft als daemon im Hintergrund. .. _ClamAV: https://www.clamav.net/ **Gunicorn (WSGI/ASGI)** `Gunicorn`_ wird so konfiguriert, dass es einen Unix-Domain-Socket verwendet. Es wird über pip in der venv-Umgebung installiert und über systemd gesteuert. .. _Gunicorn: https://gunicorn.org/ **nginx (Reverse Proxy)** `Nginx`_ läuft als Reverse Proxy und verteilt die Anfragen für die statischen Inhalte und das aktive Framework. Installation als deb-Paket. .. _Nginx: https://nginx.org/ **Weitere Infos** * https://www.howtoforge.de/anleitung/so-installierst-du-das-django-framework-unter-debian-11/ * https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu#step-6-testing-gunicorn-s-ability-to-serve-the-project * https://serverfault.com/questions/1166209/apache2-forward-gunicorn-socket-error * https://medium.com/building-the-system/gunicorn-3-means-of-concurrency-efbb547674b7 * https://serverfault.com/questions/517596/static-file-permissions-with-nginx-gunicorn-and-django