Instantly share code, notes, and snippets.

Embed
What would you like to do?
Plone 2 compatible buildout.cfg
[buildout]
find-links =
http://dist.plone.org
http://download.zope.org/ppix/
http://download.zope.org/distribution/
http://effbot.org/downloads
parts = zope2
instance
fixup
initscript
zeo
eggs = MySQL-python
develop =
versions = versions
[versions]
plone.recipe.zope2install = 3.2
plone.recipe.zope2instance = 3.0
zc.recipe.egg = 1.2.2
MySQL-python = 1.2.0
[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.7.5/Zope-2.7.5-final.tgz
fake-zope-eggs = false
[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
http-address = 8080
ftp-address = 8021
verbose-security = off
zeo-client = on
zeo-address = ${zeo:zeo-address}
eggs = ${buildout:eggs}
zcml =
products = ${buildout:directory}/products
[fixup]
recipe = plone.recipe.command
# comment out a few keys in each config file, which are incompatible with the zope/zeo version
command =
sed -i 's/verbose-security/#verbose-security/' ${buildout:directory}/parts/instance/etc/zope.conf
sed -i 's/default-zpublisher-encoding/#default-zpublisher-encoding/' ${buildout:directory}/parts/instance/etc/zope.conf
sed -i 's/pid-filename/#pid-filename/' ${buildout:directory}/parts/zeo/etc/zeo.conf
update-command = ${fixup:command}
[zeo]
recipe = plone.recipe.zope2zeoserver
zope2-location = ${zope2:location}
zeo-address = ${buildout:directory}/var/zeoinstance.sock
pack-days = 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment