[Mpuls-commits] r2708 - jmd/trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 11 21:03:09 CEST 2010


Author: bh
Date: 2010-05-11 21:03:08 +0200 (Tue, 11 May 2010)
New Revision: 2708

Added:
   jmd/trunk/development.ini
Modified:
   jmd/trunk/ChangeLog
Log:
* development.ini: Copy of development.ini from MPuls base/trunk
adapted to JMD.


Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog	2010-05-11 18:19:20 UTC (rev 2707)
+++ jmd/trunk/ChangeLog	2010-05-11 19:03:08 UTC (rev 2708)
@@ -1,3 +1,8 @@
+2010-05-11  Bernhard Herzog  <bh at intevation.de>
+
+	* development.ini: Copy of development.ini from MPuls base/trunk
+	adapted to JMD.
+
 2010-05-11  Torsten Irländer <torsten.irlaender at intevation.de>
 
 	* mpulsweb/controllers/administration.py

Copied: jmd/trunk/development.ini (from rev 2707, wasko/branches/2.0/development.ini)
===================================================================
--- wasko/branches/2.0/development.ini	2010-05-11 18:19:20 UTC (rev 2707)
+++ jmd/trunk/development.ini	2010-05-11 19:03:08 UTC (rev 2708)
@@ -0,0 +1,115 @@
+#
+# mpulsweb - Pylons development environment configuration
+#
+# The %(here)s variable will be replaced with the parent directory of this file
+#
+[DEFAULT]
+debug = True 
+# Uncomment and replace with the address which should receive any error reports
+#email_to = you at yourdomain.com
+smtp_server = localhost
+error_email_from = paste at localhost
+
+# set this to 'false' if you do not want the application
+# to handle static content.
+serve_static = true
+
+# Name of the application
+mpuls.app.title = "JMD"
+mpuls.app.name = "MPuls JMD"
+
+# You can provide a user specific configuration for the mpuls server.
+mpuls.app.root=%(here)s
+
+# Where is the config file for this application. Config is used to define
+# which moduls are enabled or which phases are present.
+mpuls.app.config=%(here)s/jmd.json
+mpuls.app.dbmapping=%(here)s/default_dbmapping.json
+# What is the name of the application instance. This is the name of the
+# directory containing the instance specific controller, templates and model.
+mpuls.app.instance=jmdweb
+# Which controller should be the entry point of the appliction?
+mpuls.app.indexcontroller=mpuls
+
+# installation specific search paths
+mpuls.app.path=%(mpuls.app.root)s/%(mpuls.app.instance)s
+mpuls.app.path.public = %(mpuls.app.path)s/public 
+mpuls.app.path.controllers = %(mpuls.app.path)s/controllers
+mpuls.app.path.templates = %(mpuls.app.path)s/templates
+mpuls.app.path.formed=%(mpuls.app.path.public)s/formed
+#mpuls.app.path.i18n = 
+#mpuls.app.path.addons = 
+
+# for connections to PostgeSQL database
+# db_database: %s will be replaced by certificate value
+mpuls.db.host     = 127.0.0.1 
+mpuls.db.port     = 5432 
+# Define fallback name of the database if fetching name from
+# SSL_CLIENT_S_DN_CN in ssl certificte fails. 
+mpuls.db.name     = mydb 
+mpuls.db.database = ka_%s_db
+# db_user:     first %s -> database name, second %s -> user
+mpuls.db.user     = ka_%s_%s
+
+[server:main]
+use = egg:Paste#http
+host = 0.0.0.0
+port = 5000
+#ssl_pem = *
+
+[app:main]
+use = egg:mpulsweb
+lang = de 
+full_stack = true
+cache_dir = %(here)s/data
+beaker.session.key = mpulsweb
+beaker.session.secret = somesecret
+beaker.session.timeout = 1800 
+#beaker.session.type = memory 
+#beaker.session.invalidate_corrupt = True
+
+# If you'd like to fine-tune the individual locations of the cache data dirs
+# for the Cache data, or the Session saves, un-comment the desired settings
+# here:
+#beaker.cache.data_dir = %(here)s/data/cache
+#beaker.session.data_dir = %(here)s/data/sessions
+
+# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
+# Debug mode will enable the interactive debugging tool, allowing ANYONE to
+# execute malicious code after an exception is raised.
+#set debug = false 
+
+# Logging configuration
+[loggers]
+keys = root, mpulsweb, jmdweb
+
+[handlers]
+keys = console
+
+[formatters]
+keys = generic
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_mpulsweb]
+level = DEBUG
+handlers =
+qualname = mpulsweb
+
+[logger_jmdweb]
+level = DEBUG
+handlers =
+qualname = jmdweb
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
+datefmt = %H:%M:%S
+



More information about the Mpuls-commits mailing list