[Checkins] SVN: grok/branches/philikon-eggs2/buildout.cfg Update
buildout config to use the new egg-capable instances recipes.
Philipp von Weitershausen
philikon at philikon.de
Thu Jul 12 05:33:04 EDT 2007
Log message for revision 77720:
Update buildout config to use the new egg-capable instances recipes.
site.zcml still has to be in buildout.cfg (sigh), but at least it has shrunk
quite a bit.
Changed:
U grok/branches/philikon-eggs2/buildout.cfg
-=-
Modified: grok/branches/philikon-eggs2/buildout.cfg
===================================================================
--- grok/branches/philikon-eggs2/buildout.cfg 2007-07-12 09:31:25 UTC (rev 77719)
+++ grok/branches/philikon-eggs2/buildout.cfg 2007-07-12 09:33:03 UTC (rev 77720)
@@ -1,17 +1,54 @@
[buildout]
develop = . grokwiki ldapaddressbook
-parts = zope3 data instance testdata testinstance test
+parts = app instance data test
+find-links = http://download.zope.org/distribution/
[zope3]
-recipe = zc.recipe.zope3checkout
-url = svn://svn.zope.org/repos/main/Zope3/branches/3.3
+# this dead chicken is needed by some other recipe(s)
+location =
+[app]
+recipe = zc.zope3recipes:app
+eggs = grok
+ grokwiki
+site.zcml = <include package="grok" />
+ <include package="grokwiki" />
+ <include package="zope.app.twisted" />
+
+ <securityPolicy
+ component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
+
+ <unauthenticatedPrincipal id="zope.anybody"
+ title="Unauthenticated User" />
+ <unauthenticatedGroup id="zope.Anybody"
+ title="Unauthenticated Users" />
+ <authenticatedGroup id="zope.Authenticated"
+ title="Authenticated Users" />
+ <everybodyGroup id="zope.Everybody"
+ title="All Users" />
+ <principal id="zope.manager"
+ title="Manager"
+ login="grok"
+ password_manager="Plain Text"
+ password="grok"
+ />
+
+ <!-- Replace the following directive if you don't want
+ public access -->
+ <grant permission="zope.View"
+ principal="zope.Anybody" />
+ <grant permission="zope.app.dublincore.view"
+ principal="zope.Anybody" />
+
+ <role id="zope.Manager" title="Site Manager" />
+ <role id="zope.Member" title="Site Member" />
+ <grantAll role="zope.Manager" />
+ <grant role="zope.Manager"
+ principal="zope.manager" />
+
[data]
recipe = zc.recipe.filestorage
-[testdata]
-recipe = zc.recipe.filestorage
-
[testinstance]
recipe = zc.recipe.zope3instance
database = testdata
@@ -40,22 +77,11 @@
grok-meta
[instance]
-recipe = zc.recipe.zope3instance
-database = data
-user = grok:grok
-eggs = setuptools
- grok
- grokwiki
+recipe = zc.zope3recipes:instance
+application = app
+zope.conf = ${data:zconfig}
-zcml = ${testinstance:zcml}
- zope.app.twisted
- grokwiki
-
[test]
recipe = zc.recipe.testrunner
eggs = grok
-extra-paths = parts/zope3/src
-working-directory = parts/testinstance
-defaults = ['--tests-pattern', '^f?tests$',
- '-v'
- ]
+defaults = ['--tests-pattern', '^f?tests$', '-v']
More information about the Checkins
mailing list