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

6
[zope-instance]
7 8
depends = ${create_mysql_database:command}
recipe = erp5.recipe.standaloneinstance
9
zope2-location = ${software_definition:zope_software}
10 11 12 13 14 15 16 17 18 19 20 21
user = zope:zope
http-address = 18080
debug-mode = off
#Only for zope2.8
default-zpublisher-encoding = 
zope-conf-additional=
  %import timerserver
  <timer-server>
    interval 5
  </timer-server>

eggs =
22
    MySQL-python
23 24 25 26 27 28 29 30 31 32
    python-memcached
    PyXML
    ply
    python-ldap
    lxml
    pytz
    timerserver
    erp5diff
    mechanize
    ClientForm
33
    ${itools:egg}
34 35 36
    numpy
    simplejson

37 38 39 40 41
products =
  ${cmf15:location}/CMF/
  ${products-deps:location}
  ${products-erp5:location}
  ${products-other:location}
42

43 44 45 46
portal_id = erp5
bt5-path = ${bt5-erp5:location}
bt5 =

47 48 49 50
[create_mysql_database]
# XXX: This have to be converted into recipe
recipe = plone.recipe.command
command =
51
  echo "CREATE DATABASE IF NOT EXISTS ${zope-instance:mysql_database_name} DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci" | ${buildout:data-bin-directory}/mysql -u root
52 53 54 55 56 57

[bt5list]
recipe = erp5.recipe.genbt5list
bt5_base = ${bt5-erp5:location}
bt5_urls = ${bt5-erp5:urls}
genbt5list = ${products-erp5:location}/ERP5/bin/genbt5list