Skip to content

Instantly share code, notes, and snippets.

@tomgross
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomgross/160e17486a6e038f6f61 to your computer and use it in GitHub Desktop.
Save tomgross/160e17486a6e038f6f61 to your computer and use it in GitHub Desktop.
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