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

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

Use kofacustom.nigeria.

File size: 4.5 KB
Line 
1[buildout]
2develop = . waeup.kofa kofacustom.nigeria
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 = 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
52[app]
53# This creates all scripts in bin/. The kofactl created here is 'faulty'.
54recipe = zc.recipe.egg
55eggs = waeup.futminna [beaker]
56       z3c.evalexception>=2.0
57       Paste
58       PasteScript
59       PasteDeploy
60       repoze.profile
61       ZODB3
62
63[kofactl]
64# See http://pypi.python.org/pypi/zc.recipe.egg for details...
65# Here we create the kofactl script again, this time with a
66# fixed path to zdaemon.conf as argument.
67recipe = zc.recipe.egg
68eggs = waeup.futminna [beaker]
69arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
70scripts = kofactl=kofactl
71
72[mkdirs]
73recipe = z3c.recipe.mkdir
74paths =
75    ${zope_conf:filestorage}
76    ${zope_conf:logfiles}
77    ${zope_conf:blobstorage}
78    ${buildout:directory}/var/datacenter/media
79    ${buildout:directory}/parts/test/datacenter
80
81[test]
82recipe = zc.recipe.testrunner
83eggs = waeup.futminna [beaker, test]
84defaults = ['--tests-pattern', '^f?tests$', '-v']
85
86# This section named so that the i18n scripts are called bin/i18n...
87[i18n]
88recipe = z3c.recipe.i18n:i18n
89packages = waeup.futminna
90eggs = waeup.futminna
91domain = waeup.futminna
92output = src/waeup/futminna/locales
93zcml =
94
95# This section is named so that the zpasswd utility is
96# called `zpasswd`
97[zpasswd]
98recipe = z3c.recipe.dev:script
99eggs = waeup.futminna
100module = zope.app.server.zpasswd
101method = main
102
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.
118[data]
119recipe = zc.recipe.filestorage
120
121[log]
122recipe = zc.recipe.filestorage
123
124[site_zcml]
125recipe = collective.recipe.template
126input = etc/site.zcml.in
127output = ${buildout:parts-directory}/etc/site.zcml
128
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
144[profile_ini]
145recipe = collective.recipe.template
146input = etc/profile.ini.in
147output = ${buildout:parts-directory}/etc/profile.ini
148
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
156eggs = waeup.futminna[docs]
157source = ${buildout:directory}/docs/source
158build = ${buildout:directory}/docs/build
159
160# Collect test coverage data.
161[coverage-detect]
162recipe = zc.recipe.testrunner
163eggs = waeup.futminna[beaker]
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
172scripts = coveragereport
173arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.