[Zope-CMF] Re: Setup of a Site with GenericSetup
yuppie
y.2006_ at wcm-solutions.de
Mon Jun 12 10:37:13 EDT 2006
Katja Süss wrote:
> that's what I feard that you mean by including. Using a snapshot means
> using a snapshot. Ähm. means setting up a fixed configuration. I thougt
> it could be possible with GS not only to install a product by applying
> its profile, but also to apply its profile programmatically. This would
> prepare for a setup-'product', that not only configures properties,
> groups, etc, but also install all dependencies (products). This would be
> the alternative to use the quickinstaller to install several products
> during installation of one major product to setup a site
> As long as I don't know how to (hope you understand my english..) bundle
> the raw configuration(props, groups, docs,..) and installation of
> products in one single product, tool or whatever. I have to apply the
> configuration profile of MyProjectSetup, than the profiles of the
> products, like MyProduct, and apply the profile of MyProjectTheme.
Maybe you are looking for something like this?
http://svn.zope.org/CMF/trunk/CMFDefault/factory.py?rev=40302&view=auto
You can either use addConfiguredSite are write a similar function that
applies all profiles you need.
HTH, Yuppie
More information about the Zope-CMF
mailing list