Skip to content

Commit

Permalink
Added README information about add-mountpoint option
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiorauber committed Aug 29, 2014
1 parent 617337a commit 7f71a76
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions collective/recipe/plonesite/README.txt
Expand Up @@ -136,6 +136,11 @@ use-sudo
appropriate instance's buildout section. You need to configure
sudo appropriately.

add-mountpoint
Adds the ZODB Mount Point at the path specified by container-path, if it
already does not exist. Very handy when used in conjunction with
collective.recipe.filestorage.


Example
=======
Expand Down Expand Up @@ -216,3 +221,63 @@ Here is another example buildout.cfg with the plone4site recipe::


.. _collective.upgrade: https://pypi.python.org/pypi/collective.upgrade



Example with Multiple Mount Points
(using collective.recipe.filestorage)
=====================================

[buildout]
parts =
filestorage
instance
zeoserver
plonesite1
plonesite2

[filestorage]
recipe = collective.recipe.filestorage
parts =
mp1
mp2

[instance]
recipe = plone.recipe.zope2instance
...
eggs =
...
my.package
my.other.package

zcml =
...
my.package
my.other.package

[zeoserver]
recipe = plone.recipe.zope2zeoserver
...

[plonesite1]
recipe = collective.recipe.plonesite
add-mountpoint = true
container-path = /mp1
enabled = true
instance = instance
profiles-initial = Products.CMFPlone:plone-content
site-id = portal
site-replace = false
zeoserver = zeoserver

[plonesite2]
recipe = collective.recipe.plonesite
add-mountpoint = true
container-path = /mp2
enabled = true
instance = instance
profiles-initial = Products.CMFPlone:plone-content
site-id = portal
site-replace = false
zeoserver = zeoserver

0 comments on commit 7f71a76

Please sign in to comment.