[Checkins] SVN: grokui.introspector/trunk/buildout.cfg Provide a buildout.cfg with more 'flesh' at least for testing.

Uli Fouquet uli at gnufix.de
Sat Jul 19 17:33:28 EDT 2008


Log message for revision 88622:
  Provide a buildout.cfg with more 'flesh' at least for testing.

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

-=-
Modified: grokui.introspector/trunk/buildout.cfg
===================================================================
--- grokui.introspector/trunk/buildout.cfg	2008-07-19 21:30:52 UTC (rev 88621)
+++ grokui.introspector/trunk/buildout.cfg	2008-07-19 21:33:27 UTC (rev 88622)
@@ -1,8 +1,60 @@
 [buildout]
 develop = . zope.introspector
-parts = test
+parts = test data zopectl app
 find-links = http://download.zope.org/distribution/
 
+[data]
+recipe = zc.recipe.filestorage
+
+[app]
+recipe = zc.zope3recipes>=0.5.3:application
+eggs = grokui.introspector
+site.zcml =<configure xmlns='http://namespaces.zope.org/zope'
+           xmlns:meta="http://namespaces.zope.org/meta"
+           i18n_domain="zope"
+           >
+            <include package="grokui.introspector" />
+            <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.introspector [test,]



More information about the Checkins mailing list