Instantly share code, notes, and snippets.

Embed
What would you like to do?
Plone WSGI deployment
[buildout]
parts = instance wsgiconf app
extends = http://dist.plone.org/release/5-latest/versions.cfg
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address =
eggs =
Plone
Pillow
[wsgiconf]
recipe = collective.recipe.template
input = zope.wsgi.in
output = zope.wsgi
[app]
recipe = zc.recipe.egg
eggs =
${instance:eggs}
repoze.who
repoze.tm2
repoze.retry
Paste
PasteScript
PasteDeploy
[app:zope-app]
use = egg:Zope2#main
zope_conf = ${instance:location}/etc/zope.conf
[pipeline:zope-pipeline]
pipeline =
egg:paste#evalerror
egg:repoze.retry#retry
egg:repoze.tm2#tm
zope-app
[app:static]
use = egg:Paste#static
document_root = ${buildout:directory}/var/static
[composite:main]
use = egg:Paste#urlmap
/ = zope-pipeline
/static = static
[server:main]
use = egg:paste#http
host = localhost
port = 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment