Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home Software plone Plone buildout

Plone buildout

How to integrate your old Products in Plone buildouts
After installing Plone4 there is a buildout.cfg. Customizing this file allows to recreate the same plone instance on different machines, like your development and your online Server.

Plone Version

Nail it. to the current online Version file to get any critical updates
[buildout]
extends = 
    base.cfg
    http://dist.plone.org/release/4.0.2/versions.cfg

Custom database

i always used a seperate zodb file for every site hosted by the server. Now i want to have the config automaticly inside of plone.conf and want to also specify the storage location for blobs.
[instance]
zope-conf-additional = 
  <zodb_db ch>
    # user database
    cache-size 10000
    # Blob-enabled FileStorage database
    <blobstorage>
      blob-dir ${buildout:directory}/var/ch.blob
      <filestorage>
        path ${buildout:directory}/var/filestorage/ch.fs
      </filestorage>
    </blobstorage>
    mount-point /ch
  </zodb_db>

old products

Porting old products to eggs is no fun. I just keep using them. create a tarball of the Product and place it somewhere accessible. Tell plone there is a products directory
[instance]
products =
    ${buildout:directory}/products
    ${productdistros:location}
and include the product
[productdistros]
# old style products
recipe = plone.recipe.distros
urls = file:///...../MyProduct.tar.gz