|
@@ -1,5 +1,13 @@
|
|
|
-For production deployment, it is recommended to use a reverse proxy
|
|
|
-setup, for instance using gunicorn.
|
|
|
+Before deploying in production, you should read carefully the django
|
|
|
+deployment checklist :
|
|
|
+
|
|
|
+ https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
|
|
|
+
|
|
|
+It is highly recommended to set the TEMPATE_DEBUG and DEBUG variables
|
|
|
+to False when deploying in production.
|
|
|
+
|
|
|
+For production deployment, it is also recommended to use a reverse
|
|
|
+proxy setup, for instance using gunicorn.
|
|
|
|
|
|
This is because the access to invoices (PDF) is a bit special: they
|
|
|
are served by the web server for efficiency, but django itself handles
|
|
@@ -13,7 +21,6 @@ For the complete deployment configuration used by Illyse, see:
|
|
|
|
|
|
https://www.illyse.org/projects/ils-si/wiki/Mise_en_place_production
|
|
|
|
|
|
-
|
|
|
## Gunicorn configuration
|
|
|
|
|
|
Gunicorn on Debian wheezy is very nice, because it can launch automatically
|