source: main/kofacustom.ekodisco/trunk/buildout.cfg @ 10800

Last change on this file since 10800 was 10775, checked in by Henrik Bettermann, 11 years ago

Change port.

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