[Setup] buildout and custom zope.conf for multiple mount points

Steve McMahon steve at dcn.org
Thu May 8 14:48:46 UTC 2008


Hi Giovanni,

Take a look at Plone.Org's own buildout configuration, available at:

http://dev.plone.org/plone/browser/PloneOrg/buildouts/trunk/production/base.cfg

for an example. The key trick is using the "zope-conf-additional ="
directive to define additional storages and mount points.

Steve

On Thu, May 8, 2008 at 5:10 AM, Giovanni Toffoli <toffoli at uni.net> wrote:
> Hi all,
>
>  in most cases it is convenient for me to have multiple Plone sites in the
> same Zope instance, each stored on a separate .fs database.
>
>  In the Zope instances that I created the old style, without buildout, for
> each new Plone site I
>  - added a zodb_db element in the zope.conf file
>  - restarted the Zope instance
>  - created the correponding ZODB mount point from the ZMI root
>  - added a "Plone site" object inside the folder associated to that mount
> point.
>
>  Now, I'm wandering how to recover a similar pattern in a buildout-oriented
> installation.
>  Some questions:
>  - can I customize by hand the zope.conf file?
>  - won't next buildout execution overwrite it?
>  - in the additional zodb_db elements, should I specify a path similar to
> that of the Main database?
>  - can I define other variables at the top of zope.conf, and refer them in
> defining the paths of the databases?
>  - where can I find more info on this subject?
>
>  Thank you very much in advance for any info / suggestion.
>
>  Giovanni Toffoli
>
>
>
>  _______________________________________________
>  Setup mailing list
>  Setup at lists.plone.org
>  http://lists.plone.org/mailman/listinfo/setup
>



-- 

______________________________________________________

Steve McMahon
Reid-McMahon, LLC
steve at reidmcmahon.com
steve at dcn.org



More information about the Setup mailing list