-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.cfg
118 lines (105 loc) · 2.79 KB
/
base.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
[buildout]
parts =
lxml
productdistros
instance
zopepy
cmds
extends =
http://dist.plone.org/release/4.1/versions.cfg
http://good-py.appspot.com/release/dexterity/2.0-next
relative-paths = true
versions = versions
unzip = true
extensions =
buildout.threatlevel
find-links =
https://simplesnet.com.br/pacotes/catalogo/simple
http://dist.plone.org/release/${versions:Plone}
http://dist.repoze.org/
http://dist.plone.org
http://dist.plone.org/thirdparty
http://download.zope.org/ppix/
http://download.zope.org/distribution/
http://effbot.org/downloads
eggs =
ZopeSkel
Zope2
Plone
Pillow
coverage
cython
elementtree
cElementTree
iw.rotatezlogs
hashlib
simplejson
develop =
zcml =
[productdistros]
recipe = plone.recipe.distros
urls =
nested-packages =
version-suffix-packages =
[lxml]
recipe = z3c.recipe.staticlxml
egg = lxml
libxml2-url = ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz
libxslt-url = ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 10.25.144.132:8080
blob-storage = ${buildout:directory}/var/blobstorage
zope-conf-additional =
rest-output-encoding utf-8
rest-input-encoding utf-8
rest-language-code pt-br
environment-vars =
PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
TMP ${buildout:directory}/tmp
TEMP ${buildout:directory}/tmp
PTS_LANGUAGES en, pt-br
zope_i18n_compile_mo_files true
eggs =
${buildout:eggs}
# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
${buildout:zcml}
products =
${buildout:directory}/products
${productdistros:location}
event-log-custom =
%import iw.rotatezlogs
<rotatelogfile>
path ${buildout:directory}/var/log/instance.log
max-bytes 5mb
backup-count 5
</rotatelogfile>
access-log-custom =
%import iw.rotatezlogs
<rotatelogfile>
path ${buildout:directory}/var/log/instance-Z2.log
max-bytes 5mb
backup-count 5
</rotatelogfile>
[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy
[cmds]
recipe = plone.recipe.command
update-command = ${cmds:command}
command =
chmod 600 .installed.cfg
find ${buildout:eggs-directory} -type d -name LC_MESSAGES -exec chown -R ${instance:effective-user} {} \;
find ${buildout:directory}/var -type d -exec chmod 700 {} \;
chown -R ${instance:effective-user} ${buildout:directory}/var/filestorage
chmod 700 ${buildout:directory}/var/filestorage
chmod 744 ${buildout:directory}/bin/*
cat > ${buildout:directory}/bin/sitecustomize.py << EOF
import sys
sys.setdefaultencoding('utf-8')
EOF