source: main/waeup.kofa/branches/uli-zc-async/buildout.cfg @ 8943

Last change on this file since 8943 was 8662, checked in by uli, 13 years ago

Start setting main parameters in one buildout section.

File size: 4.7 KB
Line 
1[buildout]
2develop = .
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
51
52[app]
53# This creates all scripts in bin/. The kofactl created here is 'faulty'.
54recipe = zc.recipe.egg
55eggs = waeup.kofa [beaker]
56       z3c.evalexception>=2.0
57       Paste
58       PasteScript
59       PasteDeploy
60       repoze.profile
61       ZODB3
62interpreter = python-console
63
64[kofactl]
65# See http://pypi.python.org/pypi/zc.recipe.egg for details...
66# Here we create the kofactl script again, this time with a
67# fixed path to zdaemon.conf as argument.
68recipe = zc.recipe.egg
69eggs = waeup.kofa [beaker]
70arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
71scripts = kofactl=kofactl
72
73[mkdirs]
74recipe = z3c.recipe.mkdir
75paths =
76    ${zope_conf:filestorage}
77    ${zope_conf:logfiles}
78    ${zope_conf:blobstorage}
79    ${buildout:directory}/var/mailqueue/cur
80    ${buildout:directory}/var/mailqueue/tmp
81    ${buildout:directory}/var/mailqueue/new
82    ${buildout:directory}/var/datacenter/media
83    ${buildout:directory}/parts/test/datacenter
84
85[test]
86recipe = zc.recipe.testrunner
87eggs = waeup.kofa [beaker, test]
88defaults = ['--tests-pattern', '^f?tests$', '-v']
89
90# this section named so that the i18n scripts are called bin/i18n...
91[i18n]
92recipe = z3c.recipe.i18n:i18n
93packages = waeup.kofa
94eggs = waeup.kofa
95domain = waeup.kofa
96output = src/waeup/kofa/locales
97zcml =
98
99# This section is named so that the zpasswd utility is
100# called `zpasswd`
101[zpasswd]
102recipe = z3c.recipe.dev:script
103eggs = waeup.kofa
104module = zope.app.server.zpasswd
105method = main
106
107[zope_conf]
108recipe = collective.recipe.template
109input = etc/zope.conf.in
110output = ${buildout:parts-directory}/etc/zope.conf
111filestorage = ${buildout:directory}/var/filestorage
112blobstorage = ${buildout:directory}/var/blobstorage
113logfiles = ${buildout:directory}/var/log
114extra =
115# extra = <grokwarnings>True</grokwarnings>
116# 'extra' is copied verbatim. Use it for product config sections and so.
117
118# The [data] and [log] parts are still in here to instruct buildout to not
119# unintentionally throw away the parts/data and parts/log subdirectories
120# that contain the Data.fs and the log files. These files should be
121# copied to the new locations. See the upgrade notes for more information.
122[data]
123recipe = zc.recipe.filestorage
124
125[log]
126recipe = zc.recipe.filestorage
127
128[mailqueue]
129recipe = zc.recipe.filestorage
130
131[site_zcml]
132recipe = collective.recipe.template
133input = etc/site.zcml.in
134output = ${buildout:parts-directory}/etc/site.zcml
135
136[zdaemon_conf]
137recipe = collective.recipe.template
138input = etc/zdaemon.conf.in
139output = ${buildout:parts-directory}/etc/zdaemon.conf
140
141[deploy_ini]
142recipe = collective.recipe.template
143input = etc/deploy.ini.in
144output = ${buildout:parts-directory}/etc/deploy.ini
145
146[debug_ini]
147recipe = collective.recipe.template
148input = etc/debug.ini.in
149output = ${buildout:parts-directory}/etc/debug.ini
150
151[profile_ini]
152recipe = collective.recipe.template
153input = etc/profile.ini.in
154output = ${buildout:parts-directory}/etc/profile.ini
155
156[eggbasket]
157recipe = z3c.recipe.eggbasket
158eggs = grok
159url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
160
161[waeupdocs]
162recipe = collective.recipe.sphinxbuilder
163eggs = waeup.kofa[docs]
164source = ${buildout:directory}/docs/source
165build = ${buildout:directory}/docs/build
166
167# Collect test coverage data.
168[coverage-detect]
169recipe = zc.recipe.testrunner
170eggs = waeup.kofa[beaker]
171defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
172
173# Create a coverage report.
174# Make sure to run bin/coverage-detect to collect the data for the report
175# first!
176[coverage-report]
177recipe = zc.recipe.egg
178eggs = z3c.coverage
179scripts = coveragereport
180arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.