Last active
August 29, 2015 14:23
-
-
Save tomgross/160e17486a6e038f6f61 to your computer and use it in GitHub Desktop.
Plone WSGI deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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