[8800] | 1 | [buildout] |
---|
| 2 | develop = . waeup.kofa |
---|
| 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
[8808] | 6 | i18n |
---|
[8800] | 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 = 8080 |
---|
| 39 | zeo1_port = 8080 |
---|
| 40 | zeo2_port = 8081 |
---|
| 41 | zeo3_port = 8082 |
---|
| 42 | server_port = 8100 |
---|
| 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 | devel_pkg = kofacustom.nigeria |
---|
| 52 | |
---|
| 53 | [app] |
---|
| 54 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
| 55 | recipe = zc.recipe.egg |
---|
| 56 | eggs = kofacustom.nigeria [beaker] |
---|
| 57 | z3c.evalexception>=2.0 |
---|
| 58 | Paste |
---|
| 59 | PasteScript |
---|
| 60 | PasteDeploy |
---|
| 61 | repoze.profile |
---|
| 62 | ZODB3 |
---|
| 63 | interpreter = python-console |
---|
| 64 | |
---|
| 65 | [kofactl] |
---|
| 66 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 67 | # Here we create the kofactl script again, this time with a |
---|
| 68 | # fixed path to zdaemon.conf as argument. |
---|
| 69 | recipe = zc.recipe.egg |
---|
| 70 | eggs = kofacustom.nigeria [beaker] |
---|
| 71 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 72 | scripts = kofactl=kofactl |
---|
| 73 | |
---|
| 74 | [mkdirs] |
---|
| 75 | recipe = z3c.recipe.mkdir |
---|
| 76 | paths = |
---|
| 77 | ${zope_conf:filestorage} |
---|
| 78 | ${zope_conf:logfiles} |
---|
| 79 | ${zope_conf:blobstorage} |
---|
| 80 | ${buildout:directory}/var/mailqueue/cur |
---|
| 81 | ${buildout:directory}/var/mailqueue/tmp |
---|
| 82 | ${buildout:directory}/var/mailqueue/new |
---|
| 83 | ${buildout:directory}/var/datacenter/media |
---|
| 84 | ${buildout:directory}/parts/test/datacenter |
---|
| 85 | |
---|
| 86 | [test] |
---|
| 87 | recipe = zc.recipe.testrunner |
---|
| 88 | eggs = kofacustom.nigeria [beaker, test] |
---|
| 89 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 90 | |
---|
| 91 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 92 | [i18n] |
---|
| 93 | recipe = z3c.recipe.i18n:i18n |
---|
| 94 | packages = kofacustom.nigeria |
---|
| 95 | eggs = kofacustom.nigeria |
---|
[8808] | 96 | domain = waeup.custom |
---|
[8800] | 97 | output = src/kofacustom/nigeria/locales |
---|
| 98 | zcml = |
---|
| 99 | |
---|
| 100 | # This section is named so that the zpasswd utility is |
---|
| 101 | # called `zpasswd` |
---|
| 102 | [zpasswd] |
---|
| 103 | recipe = z3c.recipe.dev:script |
---|
| 104 | eggs = kofacustom.nigeria |
---|
| 105 | module = zope.app.server.zpasswd |
---|
| 106 | method = main |
---|
| 107 | |
---|
| 108 | [zope_conf] |
---|
| 109 | recipe = collective.recipe.template |
---|
| 110 | input = etc/zope.conf.in |
---|
| 111 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 112 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 113 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 114 | logfiles = ${buildout:directory}/var/log |
---|
| 115 | extra = |
---|
| 116 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 117 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 118 | |
---|
| 119 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 120 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 121 | # that contain the Data.fs and the log files. These files should be |
---|
| 122 | # copied to the new locations. See the upgrade notes for more information. |
---|
| 123 | [data] |
---|
| 124 | recipe = zc.recipe.filestorage |
---|
| 125 | |
---|
| 126 | [log] |
---|
| 127 | recipe = zc.recipe.filestorage |
---|
| 128 | |
---|
| 129 | [mailqueue] |
---|
| 130 | recipe = zc.recipe.filestorage |
---|
| 131 | |
---|
| 132 | [site_zcml] |
---|
| 133 | recipe = collective.recipe.template |
---|
| 134 | input = etc/site.zcml.in |
---|
| 135 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
| 136 | |
---|
| 137 | [zdaemon_conf] |
---|
| 138 | recipe = collective.recipe.template |
---|
| 139 | input = etc/zdaemon.conf.in |
---|
| 140 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 141 | |
---|
| 142 | [deploy_ini] |
---|
| 143 | recipe = collective.recipe.template |
---|
| 144 | input = etc/deploy.ini.in |
---|
| 145 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 146 | |
---|
| 147 | [debug_ini] |
---|
| 148 | recipe = collective.recipe.template |
---|
| 149 | input = etc/debug.ini.in |
---|
| 150 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 151 | |
---|
| 152 | [profile_ini] |
---|
| 153 | recipe = collective.recipe.template |
---|
| 154 | input = etc/profile.ini.in |
---|
| 155 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 156 | |
---|
| 157 | [eggbasket] |
---|
| 158 | recipe = z3c.recipe.eggbasket |
---|
| 159 | eggs = grok |
---|
| 160 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 161 | |
---|
| 162 | #[waeupdocs] |
---|
| 163 | #recipe = collective.recipe.sphinxbuilder |
---|
| 164 | #eggs = kofacustom.nigeria[docs] |
---|
| 165 | #source = ${buildout:directory}/docs/source |
---|
| 166 | #build = ${buildout:directory}/docs/build |
---|
| 167 | |
---|
| 168 | # Collect test coverage data. |
---|
| 169 | [coverage-detect] |
---|
| 170 | recipe = zc.recipe.testrunner |
---|
| 171 | eggs = kofacustom.nigeria[beaker] |
---|
| 172 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 173 | |
---|
| 174 | # Create a coverage report. |
---|
| 175 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 176 | # first! |
---|
| 177 | [coverage-report] |
---|
| 178 | recipe = zc.recipe.egg |
---|
| 179 | eggs = z3c.coverage |
---|
| 180 | scripts = coveragereport |
---|
| 181 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|