]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/development.ini
Added a URL schema proposal as comment.
[philipp/winterrodeln/wradmin.git] / wradmin / development.ini
index 963dd8293dd8ee872e6272856a6a05b2fa1066e4..ccfe1a58cdab918f745e6e7418698224cc26d05c 100644 (file)
@@ -5,10 +5,10 @@
 #
 [DEFAULT]
 debug = true
-# Uncomment and replace with the address which should receive any error reports
-#email_to = you@yourdomain.com
+# address which should receive any error reports
+email_to = philipp.spitzer@winterrodeln.org
 smtp_server = localhost
-error_email_from = paste@localhost
+error_email_from = philipp.spitzer@winterrodeln.org
 
 [server:main]
 use = egg:Paste#http
@@ -24,12 +24,24 @@ cache_dir = %(here)s/data
 beaker.session.key = wradmin
 beaker.session.secret = somesecret
 
+authkit.setup.method = basic
+authkit.basic.realm = Winterrodeln Admin
+authkit.basic.authenticate.user.type = wradmin.lib.mediawiki:MediaWikiUsers
+authkit.basic.authenticate.user.data = 
+
 # 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
 
+# SQLAlchemy database URL
+sqlalchemy.url = mysql://philipp@localhost:3306/winterrodeln_wiki?charset=utf8
+# necessary for mySQL databases
+sqlalchemy.pool_recycle = 3600
+# sqlalchemy.echo_pool = 1
+# sqlalchemy.echo=true
+
 # 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.
@@ -41,13 +53,14 @@ beaker.session.secret = somesecret
 keys = root, routes, wradmin
 
 [handlers]
-keys = console
+keys = console, file
 
 [formatters]
 keys = generic
 
 [logger_root]
 level = INFO
+# handlers = file
 handlers = console
 
 [logger_routes]
@@ -67,6 +80,12 @@ args = (sys.stderr,)
 level = NOTSET
 formatter = generic
 
+[handler_file]
+class = FileHandler
+args = ('/tmp/pylons_application.log', 'a')
+level = INFO
+formatter = generic
+
 [formatter_generic]
 format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
 datefmt = %H:%M:%S