Salut, J'ai lu le deuxième lien et tout fait à la lettre excepté la partie PostgreSql. Je bloque au lancement de gunicorn via l'exe guincorn_stat. Voici ce que j'ai en sortie :
[2014-08-26 14:14:39 +0200] [4365] [INFO] Starting gunicorn 19.1.1 [2014-08-26 14:14:39 +0200] [4365] [DEBUG] Arbiter booted [2014-08-26 14:14:39 +0200] [4365] [INFO] Listening at: unix:/webapps/hello_django/run/gunicorn.sock (4365) [2014-08-26 14:14:39 +0200] [4365] [INFO] Using worker: sync [2014-08-26 14:14:39 +0200] [4375] [INFO] Booting worker with pid: 4375 [2014-08-26 14:14:39 +0200] [4376] [INFO] Booting worker with pid: 4376 [2014-08-26 14:14:39 +0200] [4377] [INFO] Booting worker with pid: 4377 [2014-08-26 14:14:39 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:15:09 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:15:24 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:15:39 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:15:54 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:16:09 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:16:24 +0200] [4365] [DEBUG] 3 workers [2014-08-26 14:16:39 +0200] [4365] [DEBUG] 3 workers ... et ça continue... À tout hasard, si vous aviez une autre solution que gunicorn-Nginx moins prise de tête je suis preneur... ;) D'avance merci à tous. BonjourUn court billet ici http://sametmax.com/nginx-en-reverse-proxy-gunicorn-pour-vos-apps-django[1]/ aborde cet aspectEt un très long et complet ici http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor[2]/Bon courage On 25 août 2014 20:23:55 CEST, Charlie Gentil <[email protected]> wrote: http://agiliq.com/blog/2013/08/minimal-nginx-and-gunicorn-configuration-for-djang[3]/ Si pour l'utilisation de Gunicorn je n'ai aucun souci, l'utilisation de Ngnix me pose quelques soucis en particulier avec les fichiers statics qui ne sont pas pris en compte.À titre d'exemple après la commande : python manage.py[4] collectstaticj'ai bien (entre autre) le dossier /usr/lib/python3.4/site-packages/django/contrib/admin/static/ de copié dans le répertoire voulu, mais si je me connecte à l'interface d'admin c'est un peu le bazar... Avec uWSGI ... bien rien ne se lance... donc là j'en suis totalement à zéro. Si quelqu'un a des petits c onseils pour faire ce que je cherche ça serait sacrément cool :) Merci à tous. CEG -------------------- http://lists.afpy.org/mailman/listinfo/django[5] -------- [1] http://sametmax.com/nginx-en-reverse-proxy-gunicorn-pour-vos-apps-django [2] http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor [3] http://agiliq.com/blog/2013/08/minimal-nginx-and-gunicorn-configuration-for-djang [4] http://manage.py [5] http://lists.afpy.org/mailman/listinfo/django
_______________________________________________ django mailing list [email protected] http://lists.afpy.org/mailman/listinfo/django
