source: main/waeup.uniben/trunk/buildout.cfg @ 8794

Last change on this file since 8794 was 8770, checked in by Henrik Bettermann, 12 years ago

Set main parameters in one buildout section.

File size: 4.5 KB
RevLine 
[3516]1[buildout]
[7825]2develop = . waeup.kofa
[5495]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
[8035]15    profile_ini
[5495]16    waeupdocs
17    coverage-detect
18    coverage-report
[7825]19# kofactl creation must be _after_ app!
20    kofactl
[5495]21# For backward compatibility, telling buildout not to throw away
22# the data and log subdirectories from the parts directory.
23    data
24    log
[5660]25# newest = false
[5495]26
[8360]27extends = versions.cfg
28
[5495]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
[8770]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 = 7011
39zeo1_port = 7011
40zeo2_port = 7012
41zeo3_port = 7013
42server_port = 7010
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
[3516]52[app]
[7825]53# This creates all scripts in bin/. The kofactl created here is 'faulty'.
[5495]54recipe = zc.recipe.egg
[8020]55eggs = waeup.uniben [beaker]
[5495]56       z3c.evalexception>=2.0
57       Paste
58       PasteScript
59       PasteDeploy
[8035]60       repoze.profile
61       ZODB3
[8699]62interpreter = python-console
[3516]63
[7825]64[kofactl]
[5503]65# See http://pypi.python.org/pypi/zc.recipe.egg for details...
[7825]66# Here we create the kofactl script again, this time with a
[5503]67# fixed path to zdaemon.conf as argument.
68recipe = zc.recipe.egg
[8020]69eggs = waeup.uniben [beaker]
[5503]70arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
[7825]71scripts = kofactl=kofactl
[5503]72
[5495]73[mkdirs]
74recipe = z3c.recipe.mkdir
75paths =
76    ${zope_conf:filestorage}
77    ${zope_conf:logfiles}
78    ${zope_conf:blobstorage}
[7587]79    ${buildout:directory}/var/datacenter/media
80    ${buildout:directory}/parts/test/datacenter
[4789]81
[5495]82[test]
83recipe = zc.recipe.testrunner
[8020]84eggs = waeup.uniben [beaker, test]
[5495]85defaults = ['--tests-pattern', '^f?tests$', '-v']
[3516]86
[7695]87# This section named so that the i18n scripts are called bin/i18n...
[5495]88[i18n]
89recipe = z3c.recipe.i18n:i18n
[8020]90packages = waeup.uniben
91eggs = waeup.uniben
92domain = waeup.uniben
93output = src/waeup/uniben/locales
[5495]94zcml =
[4789]95
[5495]96# This section is named so that the zpasswd utility is
97# called `zpasswd`
98[zpasswd]
99recipe = z3c.recipe.dev:script
[8020]100eggs = waeup.uniben
[5495]101module = zope.app.server.zpasswd
102method = main
[3516]103
[5495]104[zope_conf]
105recipe = collective.recipe.template
106input = etc/zope.conf.in
107output = ${buildout:parts-directory}/etc/zope.conf
108filestorage = ${buildout:directory}/var/filestorage
109blobstorage = ${buildout:directory}/var/blobstorage
110logfiles = ${buildout:directory}/var/log
111extra =
112# extra = <grokwarnings>True</grokwarnings>
113# 'extra' is copied verbatim. Use it for product config sections and so.
114
115# The [data] and [log] parts are still in here to instruct buildout to not
116# unintentionally throw away the parts/data and parts/log subdirectories
117# that contain the Data.fs and the log files. These files should be
118# copied to the new locations. See the upgrade notes for more information.
[3516]119[data]
120recipe = zc.recipe.filestorage
121
[5495]122[log]
123recipe = zc.recipe.filestorage
[3516]124
[5495]125[site_zcml]
126recipe = collective.recipe.template
127input = etc/site.zcml.in
128output = ${buildout:parts-directory}/etc/site.zcml
[3516]129
[5495]130[zdaemon_conf]
131recipe = collective.recipe.template
132input = etc/zdaemon.conf.in
133output = ${buildout:parts-directory}/etc/zdaemon.conf
134
135[deploy_ini]
136recipe = collective.recipe.template
137input = etc/deploy.ini.in
138output = ${buildout:parts-directory}/etc/deploy.ini
139
140[debug_ini]
141recipe = collective.recipe.template
142input = etc/debug.ini.in
143output = ${buildout:parts-directory}/etc/debug.ini
144
[8035]145[profile_ini]
146recipe = collective.recipe.template
147input = etc/profile.ini.in
148output = ${buildout:parts-directory}/etc/profile.ini
149
[5495]150[eggbasket]
151recipe = z3c.recipe.eggbasket
152eggs = grok
153url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz
154
155[waeupdocs]
156recipe = collective.recipe.sphinxbuilder
[8020]157eggs = waeup.uniben[docs]
[5495]158source = ${buildout:directory}/docs/source
159build = ${buildout:directory}/docs/build
160
[4789]161# Collect test coverage data.
162[coverage-detect]
163recipe = zc.recipe.testrunner
[8020]164eggs = waeup.uniben[beaker]
[4789]165defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
166
167# Create a coverage report.
168# Make sure to run bin/coverage-detect to collect the data for the report
169# first!
170[coverage-report]
171recipe = zc.recipe.egg
172eggs = z3c.coverage
[5226]173scripts = coveragereport
[6398]174arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report')
Note: See TracBrowser for help on using the repository browser.