[Checkins] SVN: grokui.admin/trunk/buildout.cfg Provide a zopeinstance in buildout.

Uli Fouquet uli at gnufix.de
Tue Aug 5 08:57:18 EDT 2008


Log message for revision 89379:
  Provide a zopeinstance in buildout.

Changed:
  U   grokui.admin/trunk/buildout.cfg

-=-
Modified: grokui.admin/trunk/buildout.cfg
===================================================================
--- grokui.admin/trunk/buildout.cfg	2008-08-05 12:52:22 UTC (rev 89378)
+++ grokui.admin/trunk/buildout.cfg	2008-08-05 12:57:18 UTC (rev 89379)
@@ -1,12 +1,64 @@
 [buildout]
 develop = .
-parts = test
+parts = test data zopectl app
 find-links = http://download.zope.org/distribution/
 versions = versions
 
+[data]
+recipe = zc.recipe.filestorage
+
 [versions]
 zope.app.securitypolicy = 3.4.0a1 
 
+[app]
+recipe = zc.zope3recipes>=0.5.3:application
+eggs = grokui.admin
+site.zcml =<configure xmlns='http://namespaces.zope.org/zope'
+           xmlns:meta="http://namespaces.zope.org/meta"
+           i18n_domain="zope"
+           >
+            <include package="grokui.admin" />
+            <include package="zope.app.twisted" />
+
+            <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" />
+            </configure>
+
+# this section named so that the start/stop script is called bin/zopectl
+[zopectl]
+recipe = zc.zope3recipes:instance
+application = app
+zope.conf = ${data:zconfig}
+
 [test]
 recipe = zc.recipe.testrunner
 eggs = grokui.admin [test,]



More information about the Checkins mailing list