source: main/waeup.kofa/trunk/buildout.cfg @ 8794

Last change on this file since 8794 was 8662, checked in by uli, 12 years ago

Start setting main parameters in one buildout section.

File size: 4.7 KB
RevLine 
[3516]1[buildout]
2develop = .
[5495]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
[7482]15    profile_ini
[5495]16    waeupdocs
17    coverage-detect
18    coverage-report
[7808]19# kofactl creation must be _after_ app!
20    kofactl
[5495]21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
[5660]25# newest = false
[5495]26
[8357]27extends = versions.cfg
28
[5495]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
[8662]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
[3516]52[app]
[7808]53# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]54recipe = zc.recipe.egg
[7808]55eggs = waeup.kofa [beaker]
[5495]56       z3c.evalexception>=2.0
57       Paste
58       PasteScript
59       PasteDeploy
[7482]60       repoze.profile
[8006]61       ZODB3
[5495]62interpreter = python-console
[3516]63
[7808]64[kofactl]
[5503]65# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7808]66# Here we create the kofactl script again, this time with a
[5503]67# fixed path to zdaemon.conf as argument.
68recipe = zc.recipe.egg
[7808]69eggs = waeup.kofa [beaker]
[5503]70arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7808]71scripts = kofactl=kofactl
[5503]72
[5495]73[mkdirs]
74recipe = z3c.recipe.mkdir
75paths =
76    ${zope_conf:filestorage}
77    ${zope_conf:logfiles}
78    ${zope_conf:blobstorage}
[7470]79    ${buildout:directory}/var/mailqueue/cur
80    ${buildout:directory}/var/mailqueue/tmp
81    ${buildout:directory}/var/mailqueue/new
[7578]82    ${buildout:directory}/var/datacenter/media
[7583]83    ${buildout:directory}/parts/test/datacenter
[4789]84
[5495]85[test]
86recipe = zc.recipe.testrunner
[7808]87eggs = waeup.kofa [beaker, test]
[5495]88defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]89
[5495]90# this section named so that the i18n scripts are called bin/i18n...
91[i18n]
92recipe = z3c.recipe.i18n:i18n
[7808]93packages = waeup.kofa
94eggs = waeup.kofa
95domain = waeup.kofa
96output = src/waeup/kofa/locales
[5495]97zcml =
[4789]98
[5495]99# This section is named so that the zpasswd utility is
100# called `zpasswd`
101[zpasswd]
102recipe = z3c.recipe.dev:script
[7808]103eggs = waeup.kofa
[5495]104module = zope.app.server.zpasswd
105method = main
[3516]106
[5495]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.
[3516]122[data]
123recipe = zc.recipe.filestorage
124
[5495]125[log]
126recipe = zc.recipe.filestorage
[3516]127
[7470]128[mailqueue]
129recipe = zc.recipe.filestorage
130
[5495]131[site_zcml]
132recipe = collective.recipe.template
133input = etc/site.zcml.in
134output = ${buildout:parts-directory}/etc/site.zcml
[3516]135
[5495]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
[7482]151[profile_ini]
152recipe = collective.recipe.template
153input = etc/profile.ini.in
154output = ${buildout:parts-directory}/etc/profile.ini
155
[5495]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
[7808]163eggs = waeup.kofa[docs]
[5495]164source = ${buildout:directory}/docs/source
165build = ${buildout:directory}/docs/build
166
[4789]167# Collect test coverage data.
168[coverage-detect]
169recipe = zc.recipe.testrunner
[7808]170eggs = waeup.kofa[beaker]
[4789]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
[5226]179scripts = coveragereport
[6398]180arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.