nesiax
(nesiax)
1
Hello everybody.
I followed instructions from http://blog.toms-projekte.de/run-plone-with-wsgi.html in order to run plone under wsgi.
It works fine using paster.
However I would like to use uWSGI for plone deployment.
I have tried without sucess, have anybody accomplished this task ?
p.d. which software power this forum ?
jean
(Jean Jordaan)
2
Have a look at https://github.com/unweb/wsgi-plone (gunicorn) and https://github.com/unweb/unweb.recipe.uwsgi/ (uwsgi).
[uwsgi]
recipe = unweb.recipe.uwsgi
eggs =
${plone:eggs}
PasteDeploy
[zserver-patch]
recipe = collective.recipe.patch
egg = Zope2==2.13.15
patches = ${buildout:directory}/patches/zserver.patch
${buildout:directory}/patches/wsgipublisher.patch
From supervisord config:
[program:uwsgi]
command = /home/username/zope/projname/zeocluster/bin/uwsgi --ini-paste /home/username/zope/projname/zeocluster/production.ini -x /home/username/zope/projname/zeocluster/parts/uwsgi/uwsgi.xml --paste-logger
process_name = uwsgi
directory = /home/username/zope/projname/zeocluster/bin
priority = 10
redirect_stderr = true
user = username
The forum is powered by http://www.discourse.org/ , see e.g. Why Discourse was chosen instead of PloneBoard? for some discussion.