Intégration¶
Note
Mongrey WEB est livré avec un serveur WSGI Gevent intégré très performant mais si vous avez besoin d’intégrer l’application dans Nginx ou Apache, vous pouvez suivre les procédures suivantes.
Mongrey Serveur¶
Mongrey WEB - WSGI¶
Todo
A tester
Warning
Le téléchargement de Mongrey Web au format binaire n’est pas compatible avec cette installation.
Il faut installer Mongrey Web normalement en utilisant la procédure par Installation par PIP
Gunicorn¶
$ pip install gunicorn
$ gunicorn -k gevent_wsgi --workers 1 'mongrey.web.wsgi:create_app()'
Gunicorn - Supervisord¶
[program:mongrey-web]
command=gunicorn -k gevent_wsgi --workers 1 'mongrey.web.wsgi:create_app()'
autostart=true
autorestart=true
redirect_stderr=True
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
Chaussette¶
Todo