-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
172 lines (131 loc) · 3.16 KB
/
buildout.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[buildout]
parts =
${testing:parts}
extends =
https://dist.plone.org/release/4.3.20/versions.cfg
sources.cfg
checkouts.cfg
versions = versions
index = https://pypi.org/simple/
find-links =
https://dist.plone.org
https://dist.plone.org/release/4.3.20
unzip = true
eggs =
Plone
extensions =
buildout.dumppickedversions
mr.developer
develop =
src/cmiss.plonethemeclassic
[versions]
Products.PloneSoftwareCenter >= 1.6.3
plone.portlet.collection = 2.1.3
[base]
parts =
zopepy
test
[testing]
parts =
${base:parts}
instance-testing
zeoserver-testing
# Deployment instance: parts for production server
[deploy]
parts =
${base:parts}
instance-deploy
zeoserver-deploy
# split up builds
[deploy-instance]
parts =
${base:parts}
instance-deploy
[deploy-zeoserver]
parts =
zeoserver-deploy
# Addresses
[host]
name = www.cmiss.org
instance-testing = 127.0.0.1
instance-staging = 127.0.0.1
instance-deploy = 127.0.0.1
zeoserver-testing = 127.0.0.1
zeoserver-staging = 127.0.0.1
zeoserver-deploy = 127.0.0.1
[port]
instance-testing = 12080
instance-staging = 12080
instance-deploy = 12080
zeoserver-testing = 12100
zeoserver-staging = 12100
zeoserver-deploy = 12100
### Definitions for the software parts.
# Zeo server
[zeoserver-testing]
recipe = plone.recipe.zeoserver
zeo-address = ${port:zeoserver-testing}
blob-storage = ${buildout:directory}/var/blobstorage
eggs =
ZODB3 >= 3.8.1
[zeoserver-deploy]
recipe = plone.recipe.zeoserver
zeo-address = ${port:zeoserver-deploy}
blob-storage = ${buildout:directory}/var/blobstorage
effective-user = zope
eggs =
ZODB3 >= 3.8.1
### Servers
# Instances
[instance-settings]
recipe = plone.recipe.zope2instance
zeo-client = true
zodb-cache-size = 5000
zeo-client-cache-size = 300MB
user = admin:admin
debug-mode = on
blob-storage = ${buildout:directory}/var/blobstorage
shared-blob = on
verbose-security = on
# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = Plone my.package
# depended by contentratings
eggs =
zope.app.container
zope.app.component
plone.app.kss
Products.PloneSoftwareCenter
Products.ArchAddOn
Products.AddRemoveWidget
${buildout:eggs}
cmiss.plonethemeclassic
zcml =
cmiss.plonethemeclassic
# TODO split out the external storage path per instance
environment-vars =
PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
EXTERNAL_STORAGE_BASE_PATH ${buildout:directory}/var
[instance-testing]
<= instance-settings
http-address = ${port:instance-testing}
zeo-address = ${host:zeoserver-testing}:${port:zeoserver-testing}
[instance-deploy]
<= instance-settings
http-address = ${port:instance-deploy}
zeo-address = ${host:zeoserver-deploy}:${port:zeoserver-deploy}
debug-mode = off
verbose-security = off
effective-user = zope
eggs =
${instance-settings:eggs}
collective.recaptcha
[zopepy]
recipe = zc.recipe.egg
eggs = ${instance-settings:eggs}
interpreter = zopepy
[test]
recipe = zc.recipe.testrunner
eggs =
${instance-settings:eggs}
defaults = ['--exit-with-status', '--auto-progress']