source: main/waeup.futminna/trunk/buildout.cfg @ 8891

Last change on this file since 8891 was 8826, checked in by Henrik Bettermann, 13 years ago

Use kofacustom.nigeria.

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