source: main/kofacustom.nigeria/trunk/buildout.cfg @ 8809

Last change on this file since 8809 was 8808, checked in by Henrik Bettermann, 12 years ago

Add localization scripts.

File size: 4.8 KB
Line 
1[buildout]
2develop = . waeup.kofa
3parts =
4    eggbasket
5    app
6    i18n
7    test
8    mkdirs
9    zpasswd
10    zope_conf
11    site_zcml
12    zdaemon_conf
13    deploy_ini
14    debug_ini
15    profile_ini
16# waeupdocs
17    coverage-detect
18    coverage-report
19# kofactl creation must be _after_ app!
20    kofactl
21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
25# newest = false
26
27extends = versions.cfg
28
29# eggs will be installed in the default buildout location
30# (see .buildout/default.cfg in your home directory)
31# unless you specify an eggs-directory option here.
32
33[kofa_params]
34## Basic parameters for deployment.
35# default is 127.0.0.1
36host = 0.0.0.0
37# default is 8080
38base_port = 8080
39zeo1_port = 8080
40zeo2_port = 8081
41zeo3_port = 8082
42server_port = 8100
43# default 7. Number of pre-opened ZODB threads/client
44pool_size = 7
45# default 20MB. Cache size of each client (ZEO only)
46client_cache = 20MB
47# default 5000. Number of objects cached.
48object_cache = 5000
49# number of preopened paster threads, default 10
50threadpool_workers = 10
51devel_pkg = kofacustom.nigeria
52
53[app]
54# This creates all scripts in bin/. The kofactl created here is 'faulty'.
55recipe = zc.recipe.egg
56eggs = kofacustom.nigeria [beaker]
57       z3c.evalexception>=2.0
58       Paste
59       PasteScript
60       PasteDeploy
61       repoze.profile
62       ZODB3
63interpreter = python-console
64
65[kofactl]
66# See http://pypi.python.org/pypi/zc.recipe.egg for details...
67# Here we create the kofactl script again, this time with a
68# fixed path to zdaemon.conf as argument.
69recipe = zc.recipe.egg
70eggs = kofacustom.nigeria [beaker]
71arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
72scripts = kofactl=kofactl
73
74[mkdirs]
75recipe = z3c.recipe.mkdir
76paths =
77    ${zope_conf:filestorage}
78    ${zope_conf:logfiles}
79    ${zope_conf:blobstorage}
80    ${buildout:directory}/var/mailqueue/cur
81    ${buildout:directory}/var/mailqueue/tmp
82    ${buildout:directory}/var/mailqueue/new
83    ${buildout:directory}/var/datacenter/media
84    ${buildout:directory}/parts/test/datacenter
85
86[test]
87recipe = zc.recipe.testrunner
88eggs = kofacustom.nigeria [beaker, test]
89defaults = ['--tests-pattern', '^f?tests$', '-v']
90
91# this section named so that the i18n scripts are called bin/i18n...
92[i18n]
93recipe = z3c.recipe.i18n:i18n
94packages = kofacustom.nigeria
95eggs = kofacustom.nigeria
96domain = waeup.custom
97output = src/kofacustom/nigeria/locales
98zcml =
99
100# This section is named so that the zpasswd utility is
101# called `zpasswd`
102[zpasswd]
103recipe = z3c.recipe.dev:script
104eggs = kofacustom.nigeria
105module = zope.app.server.zpasswd
106method = main
107
108[zope_conf]
109recipe = collective.recipe.template
110input = etc/zope.conf.in
111output = ${buildout:parts-directory}/etc/zope.conf
112filestorage = ${buildout:directory}/var/filestorage
113blobstorage = ${buildout:directory}/var/blobstorage
114logfiles = ${buildout:directory}/var/log
115extra =
116# extra = <grokwarnings>True</grokwarnings>
117# 'extra' is copied verbatim. Use it for product config sections and so.
118
119# The [data] and [log] parts are still in here to instruct buildout to not
120# unintentionally throw away the parts/data and parts/log subdirectories
121# that contain the Data.fs and the log files. These files should be
122# copied to the new locations. See the upgrade notes for more information.
123[data]
124recipe = zc.recipe.filestorage
125
126[log]
127recipe = zc.recipe.filestorage
128
129[mailqueue]
130recipe = zc.recipe.filestorage
131
132[site_zcml]
133recipe = collective.recipe.template
134input = etc/site.zcml.in
135output = ${buildout:parts-directory}/etc/site.zcml
136
137[zdaemon_conf]
138recipe = collective.recipe.template
139input = etc/zdaemon.conf.in
140output = ${buildout:parts-directory}/etc/zdaemon.conf
141
142[deploy_ini]
143recipe = collective.recipe.template
144input = etc/deploy.ini.in
145output = ${buildout:parts-directory}/etc/deploy.ini
146
147[debug_ini]
148recipe = collective.recipe.template
149input = etc/debug.ini.in
150output = ${buildout:parts-directory}/etc/debug.ini
151
152[profile_ini]
153recipe = collective.recipe.template
154input = etc/profile.ini.in
155output = ${buildout:parts-directory}/etc/profile.ini
156
157[eggbasket]
158recipe = z3c.recipe.eggbasket
159eggs = grok
160url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
161
162#[waeupdocs]
163#recipe = collective.recipe.sphinxbuilder
164#eggs = kofacustom.nigeria[docs]
165#source = ${buildout:directory}/docs/source
166#build = ${buildout:directory}/docs/build
167
168# Collect test coverage data.
169[coverage-detect]
170recipe = zc.recipe.testrunner
171eggs = kofacustom.nigeria[beaker]
172defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
173
174# Create a coverage report.
175# Make sure to run bin/coverage-detect to collect the data for the report
176# first!
177[coverage-report]
178recipe = zc.recipe.egg
179eggs = z3c.coverage
180scripts = coveragereport
181arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.