[Grok-dev] Deploying into production - site.zcml with credentials

Kevin Teague kevin at bud.ca
Thu Nov 6 13:20:17 EST 2008


And an example of what your "production-deployment-specific.cfg" might
look like:

[buildout]
extends = buildout.cfg

[zopectl]
address = your.hostname.com:8000

Although you need to always remeber to run "./bin/buildout -c
production-deployment-specific.cfg" in production. Alternatively you
could name the production file "buildout.cfg" and the development/base
config as "base.cfg".

Also, you can implement your own acl user folder that is stored in the
ZODB and authenticate against that. The "zope.app.authentication"
package (PAU) can be used for this (or you can just provide your own
IAuthentication implementation and authenticate against Grok model
objects or whatever you want ...)



More information about the Grok-dev mailing list