Changeset 11050 for main


Ignore:
Timestamp:
4 Feb 2014, 14:26:41 (11 years ago)
Author:
uli
Message:

Make ZEO config work with Diazo.

Location:
main/waeup.kofa/branches/uli-diazo-themed
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/buildout-zeo.cfg

    r9217 r11050  
    1313    site_zcml
    1414    zdaemon_conf
    15     deploy_ini
    16     debug_ini
     15    raw_deploy_ini
     16    raw_debug_ini
     17    themed_deploy_ini
     18    themed_debug_ini
    1719    profile_ini
    1820    zeo1_ini
     
    2325# kofactl creation must be _after_ app!
    2426    kofactl
     27    lxml
     28    diazo
    2529# For backward compatibility, telling buildout not to throw away
    2630# the data and log subdirectories from the parts directory.
     
    115119# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    116120recipe = zc.recipe.egg
    117 eggs = waeup.kofa [beaker]
     121eggs = waeup.kofa [beaker, diazo]
    118122arguments = "${buildout:parts-directory}/etc/zeo1.conf"
    119123scripts = kofactl=zeo_client1
     
    122126# See http://pypi.python.org/pypi/zc.recipe.egg for details...
    123127recipe = zc.recipe.egg
    124 eggs = waeup.kofa [beaker]
     128eggs = waeup.kofa [beaker, diazo]
    125129arguments = "${buildout:parts-directory}/etc/zeo2.conf"
    126130scripts = kofactl=zeo_client2
  • main/waeup.kofa/branches/uli-diazo-themed/etc/zeo1.ini.in

    r9893 r11050  
    8080logger_name = wsgi
    8181
    82 [app:main]
     82[app:zope]
    8383use = egg:${kofa_params:devel_pkg}
    8484filter-with = translogger
     85
     86[app:static]
     87use = egg:Paste#static
     88document_root = %(LAYOUT_DIR)s/static/
     89
     90[pipeline:default]
     91pipeline = theme
     92           zope
     93
     94[composite:main]
     95use = egg:Paste#urlmap
     96/static = static
     97/ = default
     98
     99[filter:theme]
     100use = egg:diazo
     101rules = %(LAYOUT_DIR)s/rules.xml
     102prefix = /
     103doctype = <!DOCTYPE html>
     104# set to true, if you want rules.xml being rebuild on each request
     105debug = false
    85106
    86107[server:main]
     
    95116zope_conf = %(here)s/zope_zeo1.conf
    96117env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid1.txt
     118LAYOUT_DIR = ${buildout:directory}/layout
     119STATIC_DIR = %(LAYOUT_DIR)s/static
  • main/waeup.kofa/branches/uli-diazo-themed/etc/zeo2.ini.in

    r9893 r11050  
    8080logger_name = wsgi
    8181
    82 [app:main]
     82[app:zope]
    8383use = egg:${kofa_params:devel_pkg}
    8484filter-with = translogger
     85
     86[app:static]
     87use = egg:Paste#static
     88document_root = %(LAYOUT_DIR)s/static
     89
     90[pipeline:default]
     91pipeline = theme
     92           zope
     93
     94[composite:main]
     95use = egg:Paste#urlmap
     96/static = static
     97/ = default
     98
     99[filter:theme]
     100use = egg:diazo
     101rules = %(LAYOUT_DIR)s/rules.xml
     102prefix = /
     103doctype = <!DOCTYPE html>
     104# set to true, if you want rules.xml being rebuild on each request
     105debug = false
    85106
    86107[server:main]
     
    95116zope_conf = %(here)s/zope_zeo2.conf
    96117env_vars = ZC_ASYNC_UUID ${buildout:directory}/var/uuid2.txt
     118LAYOUT_DIR = ${buildout:directory}/layout
     119STATIC_DIR = %(LAYOUT_DIR)s/static
Note: See TracChangeset for help on using the changeset viewer.