[Grok-dev] Deploying into production - site.zcml with credentials
Michael Haubenwallner
michael at d2m.at
Thu Nov 6 05:01:18 EST 2008
Michael Haubenwallner wrote:
> You can move the relevant parts from the site.zcml definition in
> buildout.cfg to a 'principals.zcml' file (don't forget to include the
> namespace declarations) and include the new file in your buildout.cfg
> inside the site.zcml definition like
>
> <include file="../../principals.zcml" />
>
> (Adjust the path to where the principals.zcml file is stored relative to
> the parts/app folder).
>
Moreover, you can add the initial principals file to your distribution
as 'principals.zcml.in' and tell the customer to alter the file and save
as 'principals.zcml' -- just as it is done with the zope3 checkout.
Hth,
Michael
--
http://blog.d2m.at
http://planetzope.org
More information about the Grok-dev
mailing list