1 | [buildout] |
---|
2 | develop = . waeup.kofa kofacustom.nigeria |
---|
3 | parts = |
---|
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 |
---|
15 | profile_ini |
---|
16 | waeupdocs |
---|
17 | coverage-detect |
---|
18 | coverage-report |
---|
19 | # kofactl creation must be _after_ app! |
---|
20 | kofactl |
---|
21 | # For backward compatibility, telling buildout not to throw away |
---|
22 | # the data and log subdirectories from the parts directory. |
---|
23 | data |
---|
24 | log |
---|
25 | # newest = false |
---|
26 | |
---|
27 | extends = versions.cfg |
---|
28 | |
---|
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 | |
---|
33 | [kofa_params] |
---|
34 | ## Basic parameters for deployment. |
---|
35 | # default is 127.0.0.1 |
---|
36 | host = 0.0.0.0 |
---|
37 | # default is 8080 |
---|
38 | base_port = 7031 |
---|
39 | zeo1_port = 7031 |
---|
40 | zeo2_port = 7032 |
---|
41 | zeo3_port = 7033 |
---|
42 | server_port = 7030 |
---|
43 | # default 7. Number of pre-opened ZODB threads/client |
---|
44 | pool_size = 7 |
---|
45 | # default 20MB. Cache size of each client (ZEO only) |
---|
46 | client_cache = 20MB |
---|
47 | # default 5000. Number of objects cached. |
---|
48 | object_cache = 5000 |
---|
49 | # number of preopened paster threads, default 10 |
---|
50 | threadpool_workers = 10 |
---|
51 | |
---|
52 | [app] |
---|
53 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
54 | recipe = zc.recipe.egg |
---|
55 | eggs = waeup.fceokene [beaker] |
---|
56 | z3c.evalexception>=2.0 |
---|
57 | Paste |
---|
58 | PasteScript |
---|
59 | PasteDeploy |
---|
60 | repoze.profile |
---|
61 | ZODB3 |
---|
62 | |
---|
63 | [kofactl] |
---|
64 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
65 | # Here we create the kofactl script again, this time with a |
---|
66 | # fixed path to zdaemon.conf as argument. |
---|
67 | recipe = zc.recipe.egg |
---|
68 | eggs = waeup.fceokene [beaker] |
---|
69 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
70 | scripts = kofactl=kofactl |
---|
71 | |
---|
72 | [mkdirs] |
---|
73 | recipe = z3c.recipe.mkdir |
---|
74 | paths = |
---|
75 | ${zope_conf:filestorage} |
---|
76 | ${zope_conf:logfiles} |
---|
77 | ${zope_conf:blobstorage} |
---|
78 | ${buildout:directory}/var/datacenter/media |
---|
79 | ${buildout:directory}/parts/test/datacenter |
---|
80 | |
---|
81 | [test] |
---|
82 | recipe = zc.recipe.testrunner |
---|
83 | eggs = waeup.fceokene [beaker, test] |
---|
84 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
85 | |
---|
86 | # This section named so that the i18n scripts are called bin/i18n... |
---|
87 | [i18n] |
---|
88 | recipe = z3c.recipe.i18n:i18n |
---|
89 | packages = waeup.fceokene |
---|
90 | eggs = waeup.fceokene |
---|
91 | domain = waeup.fceokene |
---|
92 | output = src/waeup/fceokene/locales |
---|
93 | zcml = |
---|
94 | |
---|
95 | # This section is named so that the zpasswd utility is |
---|
96 | # called `zpasswd` |
---|
97 | [zpasswd] |
---|
98 | recipe = z3c.recipe.dev:script |
---|
99 | eggs = waeup.fceokene |
---|
100 | module = zope.app.server.zpasswd |
---|
101 | method = main |
---|
102 | |
---|
103 | [zope_conf] |
---|
104 | recipe = collective.recipe.template |
---|
105 | input = etc/zope.conf.in |
---|
106 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
107 | filestorage = ${buildout:directory}/var/filestorage |
---|
108 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
109 | logfiles = ${buildout:directory}/var/log |
---|
110 | extra = |
---|
111 | # extra = <grokwarnings>True</grokwarnings> |
---|
112 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
113 | |
---|
114 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
115 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
116 | # that contain the Data.fs and the log files. These files should be |
---|
117 | # copied to the new locations. See the upgrade notes for more information. |
---|
118 | [data] |
---|
119 | recipe = zc.recipe.filestorage |
---|
120 | |
---|
121 | [log] |
---|
122 | recipe = zc.recipe.filestorage |
---|
123 | |
---|
124 | [site_zcml] |
---|
125 | recipe = collective.recipe.template |
---|
126 | input = etc/site.zcml.in |
---|
127 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
128 | |
---|
129 | [zdaemon_conf] |
---|
130 | recipe = collective.recipe.template |
---|
131 | input = etc/zdaemon.conf.in |
---|
132 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
133 | |
---|
134 | [deploy_ini] |
---|
135 | recipe = collective.recipe.template |
---|
136 | input = etc/deploy.ini.in |
---|
137 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
138 | |
---|
139 | [debug_ini] |
---|
140 | recipe = collective.recipe.template |
---|
141 | input = etc/debug.ini.in |
---|
142 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
143 | |
---|
144 | [profile_ini] |
---|
145 | recipe = collective.recipe.template |
---|
146 | input = etc/profile.ini.in |
---|
147 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
148 | |
---|
149 | [eggbasket] |
---|
150 | recipe = z3c.recipe.eggbasket |
---|
151 | eggs = grok |
---|
152 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
153 | |
---|
154 | [waeupdocs] |
---|
155 | recipe = collective.recipe.sphinxbuilder |
---|
156 | eggs = waeup.fceokene[docs] |
---|
157 | source = ${buildout:directory}/docs/source |
---|
158 | build = ${buildout:directory}/docs/build |
---|
159 | |
---|
160 | # Collect test coverage data. |
---|
161 | [coverage-detect] |
---|
162 | recipe = zc.recipe.testrunner |
---|
163 | eggs = waeup.fceokene[beaker] |
---|
164 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
165 | |
---|
166 | # Create a coverage report. |
---|
167 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
168 | # first! |
---|
169 | [coverage-report] |
---|
170 | recipe = zc.recipe.egg |
---|
171 | eggs = z3c.coverage |
---|
172 | scripts = coveragereport |
---|
173 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|