source: main/waeup.ikoba/branches/uli-payments/buildout.cfg @ 12139

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

More renaming: University -> Institution, Student -> Customer
Change portal title.

File size: 5.3 KB
Line 
1[buildout]
2develop = .
3parts =
4    eggbasket
5    app
6    i18n
7    test
8    mkdirs
9    zpasswd
10    zope_conf
11    site_zcml
12    zdaemon_conf
13    raw_deploy_ini
14    raw_debug_ini
15    themed_deploy_ini
16    themed_debug_ini
17    profile_ini
18    waeupdocs
19    coverage-detect
20    coverage-report
21# ikobactl creation must be _after_ app!
22    ikobactl
23    lxml
24    diazo
25# For backward compatibility, telling buildout not to throw away
26# the data and log subdirectories from the parts directory.
27    data
28    log
29# newest = false
30
31extends = versions.cfg
32show-picked-versions = true
33update-versions-file = versions.cfg
34
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[ikoba_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
46zeo1_port = 8080
47zeo2_port = 8081
48zeo3_port = 8082
49server_port = 8100
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
58# package to be developed
59devel_pkg = waeup.ikoba
60
61[app]
62# This creates all scripts in bin/. The ikobactl created here is 'faulty'.
63recipe = zc.recipe.egg
64eggs = waeup.ikoba [beaker, diazo]
65       z3c.evalexception>=2.0
66       Paste
67       PasteScript
68       PasteDeploy
69       repoze.profile
70       ZODB3
71interpreter = python-console
72
73[ikobactl]
74# See http://pypi.python.org/pypi/zc.recipe.egg for details...
75# Here we create the ikobactl script again, this time with a
76# fixed path to zdaemon.conf as argument.
77recipe = zc.recipe.egg
78eggs = waeup.ikoba [beaker, diazo]
79arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
80scripts = ikobactl=ikobactl
81
82[mkdirs]
83recipe = z3c.recipe.mkdir
84paths =
85    ${zope_conf:filestorage}
86    ${zope_conf:logfiles}
87    ${zope_conf:blobstorage}
88    ${buildout:directory}/var/mailqueue/cur
89    ${buildout:directory}/var/mailqueue/tmp
90    ${buildout:directory}/var/mailqueue/new
91    ${buildout:directory}/var/datacenter/media
92    ${buildout:directory}/parts/test/datacenter
93
94[test]
95recipe = zc.recipe.testrunner
96eggs = waeup.ikoba [beaker, test]
97defaults = ['--tests-pattern', '^f?tests$', '-v']
98
99# this section named so that the i18n scripts are called bin/i18n...
100[i18n]
101recipe = z3c.recipe.i18n:i18n
102packages = waeup.ikoba
103eggs = waeup.ikoba
104domain = waeup.ikoba
105output = src/waeup/ikoba/locales
106zcml =
107
108# This section is named so that the zpasswd utility is
109# called `zpasswd`
110[zpasswd]
111recipe = z3c.recipe.dev:script
112eggs = waeup.ikoba
113module = zope.app.server.zpasswd
114method = main
115
116[zope_conf]
117recipe = collective.recipe.template
118input = etc/zope.conf.in
119output = ${buildout:parts-directory}/etc/zope.conf
120filestorage = ${buildout:directory}/var/filestorage
121blobstorage = ${buildout:directory}/var/blobstorage
122logfiles = ${buildout:directory}/var/log
123extra =
124# extra = <grokwarnings>True</grokwarnings>
125# 'extra' is copied verbatim. Use it for product config sections and so.
126
127# The [data] and [log] parts are still in here to instruct buildout to not
128# unintentionally throw away the parts/data and parts/log subdirectories
129# that contain the Data.fs and the log files. These files should be
130# copied to the new locations. See the upgrade notes for more information.
131[data]
132recipe = zc.recipe.filestorage
133
134[log]
135recipe = zc.recipe.filestorage
136
137[mailqueue]
138recipe = zc.recipe.filestorage
139
140[site_zcml]
141recipe = collective.recipe.template
142input = etc/site.zcml.in
143output = ${buildout:parts-directory}/etc/site.zcml
144
145[zdaemon_conf]
146recipe = collective.recipe.template
147input = etc/zdaemon.conf.in
148output = ${buildout:parts-directory}/etc/zdaemon.conf
149
150[raw_debug_ini]
151recipe = collective.recipe.template
152input = etc/raw/debug.ini.in
153output = ${buildout:parts-directory}/etc/raw-debug.ini
154
155[raw_deploy_ini]
156recipe = collective.recipe.template
157input = etc/raw/deploy.ini.in
158output = ${buildout:parts-directory}/etc/raw-deploy.ini
159
160[themed_debug_ini]
161recipe = collective.recipe.template
162input = etc/themed/debug.ini.in
163output = ${buildout:parts-directory}/etc/themed-debug.ini
164
165[themed_deploy_ini]
166recipe = collective.recipe.template
167input = etc/themed/deploy.ini.in
168output = ${buildout:parts-directory}/etc/themed-deploy.ini
169
170[profile_ini]
171recipe = collective.recipe.template
172input = etc/profile.ini.in
173output = ${buildout:parts-directory}/etc/profile.ini
174
175[eggbasket]
176recipe = z3c.recipe.eggbasket
177eggs = grok
178url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
179
180[waeupdocs]
181recipe = collective.recipe.sphinxbuilder
182eggs = waeup.ikoba[docs]
183source = ${buildout:directory}/docs/source
184build = ${buildout:directory}/docs/build
185
186# Collect test coverage data.
187[coverage-detect]
188recipe = zc.recipe.testrunner
189eggs = waeup.ikoba[beaker]
190defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
191
192# Create a coverage report.
193# Make sure to run bin/coverage-detect to collect the data for the report
194# first!
195[coverage-report]
196recipe = zc.recipe.egg
197eggs = z3c.coverage
198scripts = coveragereport
199arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report')
200
201[lxml]
202recipe = z3c.recipe.staticlxml
203egg = lxml
204
205[diazo]
206recipe = zc.recipe.egg
207eggs =
208    diazo [wsgi]
209    PasteScript
210    waeup.ikoba [beaker,diazo]
Note: See TracBrowser for help on using the repository browser.