###################################################### # Base Configuration; used by both standalone and zeo, # which extend it. # --------------------------------------------------- # $LastChangedDate: 2009-11-08 14:08:34 -0800 (Sun, 08 Nov 2009) $ $LastChangedRevision: 31219 $ # Buildout instructions in this file are # usually only changed by experienced developers. # # Beyond here there be dragons! [buildout] eggs-directory=../buildout-cache/eggs download-cache=../buildout-cache/downloads newest = false versions = versions # Add additional egg download sources here. dist.plone.org contains archives # of Plone packages. find-links = http://dist.plone.org http://dist.plone.org/release/4.1.2 http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads # unzip all eggs for easier debugging unzip = true # Load the DumpPickedVersions extension, which will notify # you of versions picked by buildout that were not specifically # pinned. extensions = buildout.dumppickedversions [instance] # Use this section to install and configure a Zope operating # instance. # For options see http://pypi.python.org/pypi/plone.recipe.zope2instance recipe = plone.recipe.zope2instance # The line below sets only the initial password. It will not change an # existing password. user = ${buildout:user} http-address = ${buildout:http-address} # if we try to start as root, Zope will switch to the user below effective-user = ${buildout:effective-user} # change debug-mode to "on" to run in development mode debug-mode = ${buildout:debug-mode} # change verbose-security to "on" for detailed security # errors while developing verbose-security = ${buildout:verbose-security} # change deprecation-warnings to "on" to get log warnings # for deprecated usages. deprecation-warnings = ${buildout:deprecation-warnings} blob-storage = ${buildout:directory}/var/blobstorage # If you want Zope to know about any additional eggs, list them here. # e.g. eggs = ${buildout:eggs} my.package eggs = ${buildout:eggs} # If you want to register ZCML slugs for any packages, list them here. # e.g. zcml = my.package my.other.package zcml = ${buildout:zcml} products = ${buildout:directory}/products # You may also control the environment variables for the instance. environment-vars = PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs [zopepy] # installs a zopepy python interpreter that runs with your # full Zope environment recipe = zc.recipe.egg eggs = ${buildout:eggs} interpreter = zopepy scripts = zopepy [chown] # This recipe is used to set permissions for root mode installs # For options see http://pypi.python.org/pypi/plone.recipe.command recipe = plone.recipe.command command = echo Dummy references to force this to execute after referenced parts echo ${backup:location} ${unifiedinstaller:sudo-command} chmod 600 .installed.cfg find ${buildout:directory}/var -type d -exec chmod 700 {} \; chmod 744 ${buildout:directory}/bin/* update-command = ${chown:command} [unifiedinstaller] # This recipe installs the plonectl script and a few other convenience # items. # For options see http://pypi.python.org/pypi/plone.recipe.unifiedinstaller recipe = plone.recipe.unifiedinstaller user = ${buildout:user} primary-port = ${buildout:http-address} sudo-command = [repozo] # This recipe builds the repozo script for non-zeo installations. recipe = zc.recipe.egg eggs = ZODB3 scripts = repozo [backup] # This recipe builds the backup, restore and snapshotbackup commands. # For options see http://pypi.python.org/pypi/collective.recipe.backup recipe = collective.recipe.backup location = ${buildout:backups-dir}/backups snapshotlocation = ${buildout:backups-dir}/snapshotbackups [zeoserver] # Use this section to install and configure a Zope # Enterprise Objects server. # For options see http://pypi.python.org/pypi/plone.recipe.zeoserver recipe = plone.recipe.zeoserver zeo-address = ${buildout:zeo-address} # if we try to start as root, Zope will switch to the user below effective-user = ${buildout:effective-user} # Put the log, pid and socket files in var/zeoserver zeo-log = ${buildout:directory}/var/zeoserver/zeoserver.log pid-file = ${buildout:directory}/var/zeoserver/zeoserver.pid socket-name = ${buildout:directory}/var/zeoserver/zeo.zdsock blob-storage = ${buildout:directory}/var/blobstorage [chown-zeo] # This recipe is used to set permissions for root mode installs # For options see http://pypi.python.org/pypi/plone.recipe.command recipe = plone.recipe.command command = echo Dummy references to force this to execute after referenced parts echo ${backup:location} ${unifiedinstaller:sudo-command} chmod 600 .installed.cfg touch ${buildout:directory}/var/zeoserver/zeoserver.log find ${buildout:directory}/var -type d -exec chmod 700 {} \; chmod 744 ${buildout:directory}/bin/* update-command = ${chown-zeo:command} [osxcontroller] recipe=plone.recipe.osxcontroller [zopeskel] # installs paster and Zopeskel recipe = zc.recipe.egg eggs = PasteScript ZopeSkel [client1] # Use this section to install and configure a Zope # client instance. # For options see http://pypi.python.org/pypi/plone.recipe.zope2instance # Additional clients are a recipe = plone.recipe.zope2instance zeo-client = true zeo-address = ${zeoserver:zeo-address} # The line below sets only the initial password. It will not change an # existing password. user = ${buildout:user} # if we try to start as root, Zope will switch to the user below effective-user = ${buildout:effective-user} http-address = ${buildout:http-address} blob-storage = ${zeoserver:blob-storage} shared-blob = on # change debug-mode to "on" to run in development mode debug-mode = ${buildout:debug-mode} # change verbose-security to "on" for detailed security # errors while developing verbose-security = ${buildout:verbose-security} deprecation-warnings = ${buildout:deprecation-warnings} # Put the log, pid, lock files in var/client1 event-log = ${buildout:directory}/var/client1/event.log z2-log = ${buildout:directory}/var/client1/Z2.log pid-file = ${buildout:directory}/var/client1/client1.pid lock-file = ${buildout:directory}/var/client1/client1.lock # If you want Zope to know about any additional eggs, list them here. # e.g. eggs = ${buildout:eggs} my.package eggs = ${buildout:eggs} # If you want to register ZCML slugs for any packages, list them here. # e.g. zcml = my.package my.other.package zcml = ${buildout:zcml} products = ${buildout:directory}/products # You may also control the environment variables for the instance. environment-vars = PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs