zope.cfg 2.61 KB
Newer Older
1
# adapt https://svn.erp5.org/repos/public/experimental/erp5.buildout
2 3 4
[buildout]
parts = zope-instance

5
[zope-instance]
6
recipe = erp5.recipe.standaloneinstance
7
zope2-location = ${software_definition:zope_software}
8 9
user = zope:zope

10 11 12 13
# modify this to reflect your local mysql configuration
# Format:
#     database[@host[:port]] [user [password [unix_socket]]]
#   e.g "erp5db erp5user somepassword" or "erp5db erp5user"
14
erp5_sql_connection_string = ${:mysql_database_name}@${:mysql_host}:${:mysql_port} ${:mysql_user} ${:mysql_password}
15 16 17

zope_conf_template =
  ${buildout:directory}/templates/default-erp5-standalone-zope.conf.in
18

19
portal_id = erp5
20
bt5-path = ${software_definition:bt5-erp5}
21
bt5 =
22 23
force-zodb-update = false
# zope.conf template part BEGIN
24
# instancehome and http-address have to be defined
25 26
# User modifable keys:
products =
27
  ${software_definition:products-cmf15}
28 29 30
  ${software_definition:products-deps}
  ${software_definition:products-erp5}
  ${software_definition:products-other}/Products
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
environment =
debug-mode = off
ip-address = 0.0.0.0
# Good defaults, which do not have to be touch:
clienthome = ${:instancehome}/var
lib_path = ${:instancehome}/lib/python
effective-user =
enable-product-installation = on
locale =
datetime-format = us
zserver-threads = 4
python-check-interval = 500
zserver-read-only-mode = off
pid-filename = ${:clienthome}/Z2.pid
lock-filename = ${:clienthome}/Z2.lock
mime-types =
structured-text-header-level = 3
rest-input-encoding =
rest-output-encoding =
rest-header-level = 3
rest-language-code = en
cgi-environment =
dns-server =
http-realm = Zope
cgi-maxlen = 0
http-header-max-length = 8192
automatically-quote-dtml-request-data = on
trusted-proxy =
publisher-profile-file =
security-policy-implementation = C
skip-authentication-checking = off
skip-ownership-checking = off
verbose-security = off
maximum-number-of-session-objects = 1000
session-add-notify-script-path =
session-delete-notify-script-path =
session-timeout-minutes = 20
session-resolution-seconds = 20
suppress-all-access-rules = off
suppress-all-site-roots = off
database-quota-size =
read-only-database = off
eventlog-level = info
eventlog-path = ${:instancehome}/log/event.log
access-level = WARN
access-path = ${:instancehome}/log/Z2.log
access-format = %(message)s
warnfilter =
max-listen-sockets = 100
port-base = 0
large-file-threshold =
default-zpublisher-encoding = utf8
http-force-connection-close = off
zodb-path = ${:instancehome}/var/Data.fs
# zope.conf template part ENDS
86

87 88 89 90
[bt5list]
recipe = erp5.recipe.genbt5list
bt5_base = ${bt5-erp5:location}
bt5_urls = ${bt5-erp5:urls}
91
genbt5list = ${software_definition:products-erp5}/ERP5/bin/genbt5list