| 1 | [buildout] |
|---|
| 2 | develop = . |
|---|
| 3 | parts = app data zopectl i18n test |
|---|
| 4 | find-links = http://download.zope.org/distribution/ |
|---|
| 5 | newest = false |
|---|
| 6 | extends= http://grok.zope.org/releaseinfo/grok-0.13.cfg |
|---|
| 7 | versions = versions |
|---|
| 8 | |
|---|
| 9 | [app] |
|---|
| 10 | recipe = zc.zope3recipes>=0.5.3:application |
|---|
| 11 | eggs = waeup |
|---|
| 12 | site.zcml = <include package="waeup" /> |
|---|
| 13 | <include package="zope.app.twisted" /> |
|---|
| 14 | |
|---|
| 15 | <configure i18n_domain="waeup"> |
|---|
| 16 | <unauthenticatedPrincipal id="zope.anybody" |
|---|
| 17 | title="Unauthenticated User" /> |
|---|
| 18 | <unauthenticatedGroup id="zope.Anybody" |
|---|
| 19 | title="Unauthenticated Users" /> |
|---|
| 20 | <authenticatedGroup id="zope.Authenticated" |
|---|
| 21 | title="Authenticated Users" /> |
|---|
| 22 | <everybodyGroup id="zope.Everybody" |
|---|
| 23 | title="All Users" /> |
|---|
| 24 | <principal id="zope.manager" |
|---|
| 25 | title="Manager" |
|---|
| 26 | login="grok" |
|---|
| 27 | password_manager="Plain Text" |
|---|
| 28 | password="grok" |
|---|
| 29 | /> |
|---|
| 30 | |
|---|
| 31 | <!-- Replace the following directive if you don't want |
|---|
| 32 | public access --> |
|---|
| 33 | <grant permission="zope.View" |
|---|
| 34 | principal="zope.Anybody" /> |
|---|
| 35 | <grant permission="zope.app.dublincore.view" |
|---|
| 36 | principal="zope.Anybody" /> |
|---|
| 37 | |
|---|
| 38 | <role id="zope.Manager" title="Site Manager" /> |
|---|
| 39 | <role id="zope.Member" title="Site Member" /> |
|---|
| 40 | <grantAll role="zope.Manager" /> |
|---|
| 41 | <grant role="zope.Manager" |
|---|
| 42 | principal="zope.manager" /> |
|---|
| 43 | </configure> |
|---|
| 44 | |
|---|
| 45 | [data] |
|---|
| 46 | recipe = zc.recipe.filestorage |
|---|
| 47 | |
|---|
| 48 | # this section named so that the start/stop script is called bin/zopectl |
|---|
| 49 | [zopectl] |
|---|
| 50 | recipe = zc.zope3recipes:instance |
|---|
| 51 | application = app |
|---|
| 52 | zope.conf = ${data:zconfig} |
|---|
| 53 | |
|---|
| 54 | [test] |
|---|
| 55 | recipe = zc.recipe.testrunner |
|---|
| 56 | eggs = waeup |
|---|
| 57 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
|---|
| 58 | |
|---|
| 59 | # this section named so that the i18n scripts are called bin/i18n... |
|---|
| 60 | [i18n] |
|---|
| 61 | recipe = lovely.recipe:i18n |
|---|
| 62 | package = waeup |
|---|
| 63 | domain = waeup |
|---|
| 64 | location = src/waeup |
|---|
| 65 | output = locales |
|---|