source: main/kofacustom.pcn/trunk/buildout.cfg @ 11890

Last change on this file since 11890 was 11842, checked in by Henrik Bettermann, 10 years ago

Update ports.

File size: 5.1 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 = 7101
46zeo1_port = 7101
47zeo2_port = 7102
48# zeo3_port = 7093
49server_port = 7100
50# default 7. Number of pre-opened ZODB threads/client
51pool_size = 7
52# default 20MB. Cache size of each client (ZEO only)
53client_cache = 20MB
54# default 5000. Number of objects cached.
55object_cache = 5000
56# number of preopened paster threads, default 10
57threadpool_workers = 10
58devel_pkg = kofacustom.pcn
59
60[app]
61# This creates all scripts in bin/. The kofactl created here is 'faulty'.
62recipe = zc.recipe.egg
63eggs = kofacustom.pcn [beaker, diazo]
64       z3c.evalexception>=2.0
65       Paste
66       PasteScript
67       PasteDeploy
68       repoze.profile
69       ZODB3
70interpreter = python-console
71
72[kofactl]
73# See http://pypi.python.org/pypi/zc.recipe.egg for details...
74# Here we create the kofactl script again, this time with a
75# fixed path to zdaemon.conf as argument.
76recipe = zc.recipe.egg
77eggs = kofacustom.pcn [beaker, diazo]
78arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
79scripts = kofactl=kofactl
80
81[mkdirs]
82recipe = z3c.recipe.mkdir
83paths =
84    ${zope_conf:filestorage}
85    ${zope_conf:logfiles}
86    ${zope_conf:blobstorage}
87    ${buildout:directory}/var/datacenter/media
88    ${buildout:directory}/parts/test/datacenter
89
90[test]
91recipe = zc.recipe.testrunner
92eggs = kofacustom.pcn [beaker, test]
93defaults = ['--tests-pattern', '^f?tests$', '-v']
94
95# This section named so that the i18n scripts are called bin/i18n...
96[i18n]
97recipe = z3c.recipe.i18n:i18n
98packages = kofacustom.pcn
99eggs = kofacustom.pcn
100domain = kofacustom.pcn
101output = src/kofacustom/pcn/locales
102zcml =
103
104# This section is named so that the zpasswd utility is
105# called `zpasswd`
106[zpasswd]
107recipe = z3c.recipe.dev:script
108eggs = kofacustom.pcn
109module = zope.app.server.zpasswd
110method = main
111
112[zope_conf]
113recipe = collective.recipe.template
114input = etc/zope.conf.in
115output = ${buildout:parts-directory}/etc/zope.conf
116filestorage = ${buildout:directory}/var/filestorage
117blobstorage = ${buildout:directory}/var/blobstorage
118logfiles = ${buildout:directory}/var/log
119extra =
120# extra = <grokwarnings>True</grokwarnings>
121# 'extra' is copied verbatim. Use it for product config sections and so.
122
123# The [data] and [log] parts are still in here to instruct buildout to not
124# unintentionally throw away the parts/data and parts/log subdirectories
125# that contain the Data.fs and the log files. These files should be
126# copied to the new locations. See the upgrade notes for more information.
127[data]
128recipe = zc.recipe.filestorage
129
130[log]
131recipe = zc.recipe.filestorage
132
133[site_zcml]
134recipe = collective.recipe.template
135input = etc/site.zcml.in
136output = ${buildout:parts-directory}/etc/site.zcml
137
138[zdaemon_conf]
139recipe = collective.recipe.template
140input = etc/zdaemon.conf.in
141output = ${buildout:parts-directory}/etc/zdaemon.conf
142
143[raw_debug_ini]
144recipe = collective.recipe.template
145input = etc/raw/debug.ini.in
146output = ${buildout:parts-directory}/etc/raw-debug.ini
147
148[raw_deploy_ini]
149recipe = collective.recipe.template
150input = etc/raw/deploy.ini.in
151output = ${buildout:parts-directory}/etc/raw-deploy.ini
152
153[themed_debug_ini]
154recipe = collective.recipe.template
155input = etc/themed/debug.ini.in
156output = ${buildout:parts-directory}/etc/themed-debug.ini
157
158[themed_deploy_ini]
159recipe = collective.recipe.template
160input = etc/themed/deploy.ini.in
161output = ${buildout:parts-directory}/etc/themed-deploy.ini
162
163[profile_ini]
164recipe = collective.recipe.template
165input = etc/profile.ini.in
166output = ${buildout:parts-directory}/etc/profile.ini
167
168[eggbasket]
169recipe = z3c.recipe.eggbasket
170eggs = grok
171url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
172
173# Collect test coverage data.
174[coverage-detect]
175recipe = zc.recipe.testrunner
176eggs = kofacustom.pcn[beaker]
177defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
178
179# Create a coverage report.
180# Make sure to run bin/coverage-detect to collect the data for the report
181# first!
182[coverage-report]
183recipe = zc.recipe.egg
184eggs = z3c.coverage
185scripts = coveragereport
186arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
187
188[lxml]
189recipe = z3c.recipe.staticlxml
190egg = lxml
191
192[diazo]
193recipe = zc.recipe.egg
194eggs =
195    diazo [wsgi]
196    PasteScript
197    kofacustom.pcn [beaker, diazo]
Note: See TracBrowser for help on using the repository browser.