forked from intranett/intranett
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.cfg
143 lines (121 loc) · 3.03 KB
/
development.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[buildout]
extensions = mr.developer
extends =
cfgs/base.cfg
cfgs/sources.cfg
development-parts =
${buildout:base-parts}
${buildout:nginx-parts}
${buildout:ejabberd-parts}
${buildout:supervisor-parts}
test-supervisor-conf
instance
atct_conf
i18npy
debugsmtp
omelette
test
checkversions
coverage
report
report-html
parts =
repozo
${buildout:development-parts}
always-checkout = true
auto-checkout =
intranett.policy
intranett.theme
intranett.tour
prod-environment +=
CHAMELEON_RELOAD true
CHAMELEON_DEBUG true
[repozo]
recipe = zc.recipe.egg
eggs = ZODB3
scripts = repozo
[ejabberd]
erlang-path = /usr/bin
[supervisor-conf]
input = ${buildout:directory}/templates/supervisord-dev.conf
[test-supervisor-conf]
<= supervisor-conf
input = ${buildout:directory}/templates/supervisord-test.conf
output = ${buildout:directory}/etc/supervisord-test.conf
[nginx-conf]
input = ${buildout:directory}/templates/nginx-dev.conf
output = ${buildout:directory}/etc/nginx.conf
ip-address = 127.0.0.1
# If you use a copy of the live jarn intranet, use the following line:
# ploneid = intranet.psol
ploneid = Plone
[instance-base]
eggs +=
Products.DocFinderTab
plone.reload
[instance]
<= instance-base
http-address = 8081
verbose-security = on
[atct_conf]
recipe = plone.recipe.command
target = ${instance:location}/etc/atcontenttypes.conf
command = ln -s ${buildout:directory}/etc/atcontenttypes.conf ${:target}
[i18npy]
recipe = zc.recipe.egg
eggs = i18ndude
scripts = i18ndude
extra-paths = ${buildout:directory}/src/lib
initialization =
import i18n_patch
i18n_patch.apply()
[zopepy]
eggs = ${instance:eggs}
[debugsmtp]
# Run a simple smtp server on 8025 that echos incoming email
recipe = zc.recipe.egg
eggs = zc.recipe.egg
entry-points = debugsmtp=runpy:run_module
scripts = debugsmtp
initialization =
sys.argv[1:] = ['-n', '-c', 'DebuggingServer', 'localhost:8025']
arguments = 'smtpd', run_name='__main__', alter_sys=True
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
[test]
recipe = collective.xmltestreport
eggs =
${instance:eggs}
intranett.policy
intranett.theme [test]
collective.ATClamAV
plone.formwidget.autocomplete
plutonian
defaults = ['--auto-color', '--auto-progress', '-q', '--module', '^intranett[.]']
environment = test-environment
initialization =
import os, warnings
warnings.simplefilter('ignore', DeprecationWarning)
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
source = '--source=${buildout:directory}/src'
omit = '--omit=commands.py'
sys.argv = sys.argv[:] + ['run', source, omit, 'bin/test', '--all', '-k', '--xml']
[report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
sys.argv = sys.argv[:] + ['xml', '-i']
[report-html]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report-html
initialization =
sys.argv = sys.argv[:] + ['html', '-i']