source: main/kofacustom.sampleuni/trunk/buildout.cfg @ 12159

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