source: main/waeup.kofa/branches/uli-diazo-themed/buildout-diazo.cfg @ 10921

Last change on this file since 10921 was 10921, checked in by uli, 11 years ago

Sketch of a diazo-oriented buildout.cfg.

File size: 3.6 KB
Line 
1[buildout]
2parts = 
3    app
4    i18n
5    test
6    mkdirs
7    zpasswd
8    site_zcml
9    zope_conf
10    zdaemon_conf
11    raw_deploy_ini
12    raw_debug_ini
13    themed_deploy_ini
14    themed_debug_ini
15    profile_ini
16    kofactl
17    waeupdocs
18    coverage-detect
19    coverage-report
20    lxml
21    diazo
22    nodejs
23    npm
24    grunt_script
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
30extends =
31    http://good-py.appspot.com/release/diazo/1.0
32    buildout.cfg
33
34find-links =
35
36extensions =
37    mr.developer
38
39auto-checkout = bootstrap
40always-checkout = force
41
42develop = .
43
44show-picked-versions = true
45update-versions-file = versions.cfg
46
47
48[sources]
49bootstrap = git https://github.com/twbs/bootstrap.git egg=false rev=v3.0.3
50
51
52[kofa_params]
53## Basic parameters for deployment.
54# default is 127.0.0.1
55host = 0.0.0.0
56# default is 8080
57base_port = 8080
58zeo1_port = 8080
59zeo2_port = 8081
60zeo3_port = 8082
61server_port = 8100
62# default 7. Number of pre-opened ZODB threads/client
63pool_size = 7
64# default 20MB. Cache size of each client (ZEO only)
65client_cache = 20MB
66# default 5000. Number of objects cached.
67object_cache = 5000
68# number of preopened paster threads, default 10
69threadpool_workers = 10
70# package to be developed
71devel_pkg = waeup.kofa
72
73
74[lxml]
75recipe = z3c.recipe.staticlxml
76egg = lxml
77
78[diazo]
79recipe = zc.recipe.egg
80eggs =
81    diazo [wsgi]
82    PasteScript
83    waeup.kofa [beaker]
84
85[nodejs]
86recipe = zc.recipe.cmmi
87#url = http://nodejs.org/dist/v0.9.3/node-v0.9.3.tar.gz
88url = http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz
89
90# create a shell script that wraps `grunt` script in `parts/` with
91# $PATH set correctly.
92[grunt_script]
93recipe = collective.recipe.template
94mode = 775
95input = etc/grunt.sh.in
96output = ${buildout:directory}/bin/grunt
97
98[npm]
99recipe = plone.recipe.command
100command =
101    cd ${buildout:directory}/src/bootstrap
102    ${buildout:parts-directory}/nodejs/bin/npm install -g grunt-cli
103    ${buildout:parts-directory}/nodejs/bin/npm install
104
105#
106# waeup.kofa config
107#
108[app]
109recipe = zc.recipe.egg
110eggs = waeup.kofa [beaker, diazo]
111       z3c.evalexception>=2.0
112       Paste
113       PasteScript
114       PasteDeploy
115       repoze.profile
116       ZODB3
117interpreter = python-console
118
119
120[mkdirs]
121recipe = z3c.recipe.mkdir
122paths =
123    ${zope_conf:filestorage}
124    ${zope_conf:logfiles}
125    ${zope_conf:blobstorage}
126    ${buildout:directory}/var/mailqueue/cur
127    ${buildout:directory}/var/mailqueue/tmp
128    ${buildout:directory}/var/mailqueue/new
129    ${buildout:directory}/var/datacenter/media
130    ${buildout:directory}/parts/test/datacenter
131
132
133[zdaemon_conf]
134recipe = collective.recipe.template
135input = etc/zdaemon.conf.in
136output = ${buildout:parts-directory}/etc/zdaemon.conf
137
138[raw_debug_ini]
139recipe = collective.recipe.template
140input = etc/raw/debug.ini.in
141output = ${buildout:parts-directory}/etc/raw-debug.ini
142
143[raw_deploy_ini]
144recipe = collective.recipe.template
145input = etc/raw/deploy.ini.in
146output = ${buildout:parts-directory}/etc/raw-deploy.ini
147
148[themed_debug_ini]
149recipe = collective.recipe.template
150input = etc/themed/debug.ini.in
151output = ${buildout:parts-directory}/etc/themed-debug.ini
152
153[themed_deploy_ini]
154recipe = collective.recipe.template
155input = etc/themed/deploy.ini.in
156output = ${buildout:parts-directory}/etc/themed-deploy.ini
157
158#
159# ctl-scripts...
160#
161
162[kofactl]
163# See http://pypi.python.org/pypi/zc.recipe.egg for details...
164# Here we create the kofactl script again, this time with a
165# fixed path to zdaemon.conf as argument.
166recipe = zc.recipe.egg
167eggs = waeup.kofa [beaker, diazo]
168arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
169scripts = kofactl=kofactl
Note: See TracBrowser for help on using the repository browser.