Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############################################################################
- # base.cfg
- # --------------------------------------------------------------------------
- [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
- [zopepy]
- # installs a zopepy python interpreter that runs with your
- # full Zope environment
- recipe = zc.recipe.egg
- eggs = ${buildout:eggs}
- interpreter = zopepy
- scripts = zopepy
- [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 = sudo -u plone
- [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
- eggs = ${buildout:eggs}
- zeo-conf-additional =
- <filestorage 2>
- path ${buildout:directory}/var/filestorage/Async.fs
- </filestorage>
- [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}
- [zopeskel]
- # installs paster and Zopeskel
- recipe = zc.recipe.egg
- eggs =
- PasteScript
- ZopeSkel
- [instance-base]
- zeo-client = true
- zeo-address = ${zeoserver:zeo-address}
- user = ${buildout:user}
- effective-user = ${buildout:effective-user}
- http-address = ${buildout:http-address}
- blob-storage = ${zeoserver:blob-storage}
- shared-blob = on
- debug-mode = ${buildout:debug-mode}
- verbose-security = ${buildout:verbose-security}
- deprecation-warnings = ${buildout:deprecation-warnings}
- eggs = ${buildout:eggs}
- zcml = ${buildout:zcml}
- products = ${buildout:directory}/products
- environment-vars =
- PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
- ############################################################################
- # buildout.cfg
- # --------------------------------------------------------------------------
- [buildout]
- extends =
- base.cfg
- versions.cfg
- http://dist.plone.org/release/4.1-latest/versions.cfg
- parts =
- zeoserver
- zopepy
- zopeskel
- unifiedinstaller
- backup
- chown-zeo
- zopeskel
- paster
- worker
- effective-user = plone
- ############################################
- # Ports
- # -----
- # Specify the ports on which your Zope installation
- # will listen.
- zeo-address = 127.0.0.1:8100
- http-address = 8080
- webdav-address = 1980
- ############################################
- # Eggs
- # ----
- eggs =
- Plone
- zope.keyreference
- plone.app.async
- Pillow
- plone.reload
- collective.plonetruegallery[all]
- collective.geo.bundle
- collective.portletpage
- plonetheme.ewb_case
- ewb_case.portlet.get_involved
- ewb_case.casclient
- wc.pageturner
- ############################################
- # ZCML Slugs
- # ----------
- zcml =
- plonetheme.ewb_case
- ewb_case.portlet.get_involved
- ewb_case.casclient
- ############################################
- # Debugging
- # --------
- debug-mode = off
- deprecation-warnings = off
- verbose-security = off
- ############################################
- # Backup Directory
- # ----------------
- backups-dir=${buildout:directory}/var
- ############################################
- # Initial User
- # ------------
- # IMPORTANT Change the password after installation
- user=admin:changeme
- ############################################
- # Versions Specification
- # ----------------------
- [versions]
- lxml = 2.3
- Cheetah = 2.2.1
- Pillow = 1.7.2
- Products.DocFinderTab = 1.0.4
- ZopeSkel = 2.19
- collective.recipe.backup = 1.7
- collective.recipe.omelette = 0.10
- plone.recipe.command = 1.1
- plone.recipe.unifiedinstaller = 4.1
- Shapely = 1.2.13
- collective.geo.bundle = 0.1
- redturtle.video = 0.7.1
- collective.rtvideo.youtube = 0.1.0
- collective.plonetruegallery = 1.3.3
- flickrapi = 1.4.2
- gdata = 2.0.16
- collective.portletpage = 1.1
- ############################################
- # Worker
- # ------
- [worker]
- recipe = plone.recipe.zope2instance
- zserver-threads = 2
- zeo-client = true
- zeo-address = ${zeoserver:zeo-address}
- blob-storage = ${zeoserver:blob-storage}
- shared-blob = on
- user = ${buildout:user}
- effective-user = ${buildout:effective-user}
- debug-mode = ${buildout:debug-mode}
- verbose-security = ${buildout:verbose-security}
- http-address = 8084
- eggs = ${buildout:eggs}
- zcml = ${buildout:zcml}
- zcml-additional =
- <include package="plone.app.async" file="multi_db_worker.zcml" />
- environment-vars =
- ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
- zope-conf-additional =
- <zodb_db async>
- cache-size ${instance:zodb-cache-size}
- <zeoclient>
- server ${zeoserver:zeo-address}
- storage 2
- name asyncstorage
- blob-dir ${zeoserver:blob-storage}
- shared-blob-dir on
- var ${buildout:parts-directory}/worker/var
- cache-size ${instance:zeo-client-cache-size}
- </zeoclient>
- mount-point /zasync
- </zodb_db>
- ############################################
- # zopeskel
- # --------
- [zopeskel]
- recipe = zc.recipe.egg
- eggs =
- ZopeSkel<2.99
- zopeskel.dexterity
- ${buildout:eggs}
- ############################################
- # paster
- # --------
- [paster]
- recipe = zc.recipe.egg
- eggs =
- PasteScript
- ZopeSkel<2.99
- zopeskel.dexterity
- ${buildout:eggs}
- ############################################################################
- # deployment.cfg
- # --------------------------------------------------------------------------
- [buildout]
- extends =
- buildout.cfg
- parts +=
- instance
- instance2
- debug-instance
- ############################################
- # instance
- # --------
- [instance]
- recipe = plone.recipe.zope2instance
- <= instance-base
- http-address = 8081
- webdav-address = ${buildout:webdav-address}
- event-log = ${buildout:directory}/var/instance/event.log
- z2-log = ${buildout:directory}/var/instance/Z2.log
- pid-file = ${buildout:directory}/var/instance/instance.pid
- lock-file = ${buildout:directory}/var/instance/instance.lock
- zodb-cache-size = 50000
- zeo-client-cache-size = 300MB
- environment-vars +=
- ZC_ASYNC_UUID ${buildout:directory}/var/instance-uuid.txt
- zcml-additional =
- <include package="plone.app.async" file="multi_db_instance.zcml" />
- zope-conf-additional =
- <zodb_db async>
- cache-size ${instance:zodb-cache-size}
- <zeoclient>
- server ${zeoserver:zeo-address}
- storage 2
- name asyncstorage
- blob-dir ${zeoserver:blob-storage}
- shared-blob-dir on
- var ${buildout:parts-directory}/instance/var
- cache-size ${instance:zeo-client-cache-size}
- </zeoclient>
- mount-point /zasync
- </zodb_db>
- ############################################
- # instance2
- # --------
- [instance2]
- recipe = plone.recipe.zope2instance
- <= instance-base
- http-address = 8082
- event-log = ${buildout:directory}/var/instance2/event.log
- z2-log = ${buildout:directory}/var/instance2/Z2.log
- pid-file = ${buildout:directory}/var/instance2/instance2.pid
- lock-file = ${buildout:directory}/var/instance2/instance2.lock
- environment-vars +=
- ZC_ASYNC_UUID ${buildout:directory}/var/instance2-uuid.txt
- zcml-additional =
- <include package="plone.app.async" file="multi_db_instance.zcml" />
- zope-conf-additional =
- <zodb_db async>
- cache-size ${instance:zodb-cache-size}
- <zeoclient>
- server ${zeoserver:zeo-address}
- storage 2
- name asyncstorage
- blob-dir ${zeoserver:blob-storage}
- shared-blob-dir on
- var ${buildout:parts-directory}/instance2/var
- cache-size ${instance:zeo-client-cache-size}
- </zeoclient>
- mount-point /zasync
- </zodb_db>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement