-
Notifications
You must be signed in to change notification settings - Fork 0
/
standard-dev.cfg
56 lines (45 loc) · 1.68 KB
/
standard-dev.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[buildout]
# Variables:
# ogds-db-name = gever-X
extends =
https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/plone-development.cfg
https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/chameleon.cfg
development-parts +=
test-inbound-mail
ogds-dsn-postgres = postgresql+psycopg2:///${buildout:ogds-db-name}
ogds-dsn = ${buildout:ogds-dsn-postgres}
ogds-db-driver = psycopg2
instance-eggs +=
opengever.core
opengever.maintenance
${buildout:ogds-db-driver}
# We want to enable chameleon based on a setup.py dependency in opengever.core
# not on a per-buildout base, so we remove ftw.chameleon from the instance-eggs. It is
# added by chameleon.cfg in fhe first place, wich we'd like to reuse.
instance-eggs -=
ftw.chameleon
zcml-additional-fragments +=
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:db="http://namespaces.zope.org/db">
<include package="z3c.saconfig" file="meta.zcml" />
<db:engine name="opengever.db"
url="${buildout:ogds-dsn}" pool_recycle="3600" />
<db:session name="opengever" engine="opengever.db" />
</configure>
[instance]
zserver-threads = 1
user = zopemaster:admin
zope-conf-additional +=
datetime-format international
<product-config opengever.core>
ogds_log_file ${buildout:directory}/var/log/ogds-update.log
</product-config>
environment-vars +=
IS_DEVELOPMENT_MODE True
[test-inbound-mail]
# Usage: cat testmail.eml | bin/test-inbound-mail
recipe = collective.recipe.scriptgen
cmd = python
portal-id = fd
arguments = parts/omelette/ftw/mail/mta2plone.py http://127.0.0.1:${instance:http-address}/${test-inbound-mail:portal-id}/mail-inbound