docs/README.txt
changeset 340 de5a2a9fdf22
parent 0 7c0001cacf8e
equal deleted inserted replaced
339:50c73e42883a 340:de5a2a9fdf22
       
     1 
       
     2 PyAMS content configuration directives
       
     3 ======================================
       
     4 
       
     5 # Default application factory
       
     6 pyams.application_factory = pyams_utils.site.BaseSiteRoot
       
     7 
       
     8 # Default application name
       
     9 pyams.application_name = pyams
       
    10 
       
    11 # PyAMS mailer
       
    12 pyams_mail.mailers = onf.
       
    13 onf.name = onf
       
    14 onf.host = smtp.onf.fr
       
    15 onf.queue_path = /var/local/env/pyams/var/mail
       
    16 
       
    17 # PyAMS ØMQ TCP handlers
       
    18 pyams_scheduler.tcp_handler = 127.0.0.1:5555
       
    19 pyams_media.tcp_handler = 127.0.0.1:5556
       
    20 pyams_content.es.tcp_handler = 127.0.0.1:5557
       
    21 pyams_notify.tcp_handler = 127.0.0.1:8081
       
    22 pyams_notify_ws.cache_server = redis://127.0.0.1:6379
       
    23 
       
    24 
       
    25 # PyAMS content settings
       
    26 
       
    27 # Supported lexicon languages
       
    28 pyams_content.lexicon.languages = en:english fr:french
       
    29 
       
    30 # Shared tools manager name
       
    31 pyams_content.config.tools_name = tools
       
    32 
       
    33 # Shared tools configuration
       
    34 # All tools are created by the "pyams_upgrade" application script.
       
    35 # For each tool, two settings are available:
       
    36 # - a tool factory name, which is the complete class name of the tool manager class; PyAMS provides a default factory
       
    37 #   for each tool, that you can override to provide your own custom implementation; this setting can also be set to
       
    38 #   "NONE" or "--" if you don't want a given tool to be created.
       
    39 # - a tool name
       
    40 
       
    41 # News shared tool configuration
       
    42 pyams_content.config.news_tool_factory = pyams_content.shared.news.manager.NewsManager
       
    43 pyams_content.config.news_tool_name = news
       
    44 
       
    45 # Forms shared tool configuration
       
    46 pyams_content.config.forms_tool_factory = pyams_content.shared.form.manager.FormsManager
       
    47 pyams_content.config.forms_tool_name = forms
       
    48 
       
    49 # Views shared tool configuration
       
    50 pyams_content.config.views_tool_factory = pyams_content.shared.view.manager.ViewsManager
       
    51 pyams_content.config.views_tool_name = views
       
    52 
       
    53 # Image maps tool configuration
       
    54 pyams_content.config.imagemaps_tool_factory = pyams_content.shared.imagemap.manager.ImageMapsManager
       
    55 pyams_content.config.imagemaps_tool_name = imagemaps
       
    56 
       
    57 # Blog manager factory
       
    58 pyams_content.config.blog_factory = onf_website.shared.blog.manager.BlogManager
       
    59 
       
    60 # Site manager factory
       
    61 pyams_content.config.site_factory = onf_website.shared.site.manager.SiteManager