From: philipp Date: Wed, 22 Dec 2010 21:59:26 +0000 (+0000) Subject: Made the template for the deployment.ini more project specific. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wrfeed.git/commitdiff_plain/f63ac6a290d2f4bfa251bf4a5202972c308f1ae0 Made the template for the deployment.ini more project specific. git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@714 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- diff --git a/wrfeed/config/deployment.ini_tmpl b/wrfeed/config/deployment.ini_tmpl index 19971ed..0c0bbd7 100644 --- a/wrfeed/config/deployment.ini_tmpl +++ b/wrfeed/config/deployment.ini_tmpl @@ -11,7 +11,7 @@ error_email_from = paste@localhost [server:main] use = egg:Paste#http -host = 0.0.0.0 +host = 127.0.0.1 port = 5000 [app:main] @@ -31,7 +31,11 @@ app_instance_uuid = ${app_instance_uuid} #beaker.session.data_dir = %(here)s/data/sessions # SQLAlchemy database URL -sqlalchemy.url = sqlite:///production.db +sqlalchemy.url = mysql://user@localhost:3306/winterrodeln_wiki?charset=utf8&use_unicode=0 +# sqlalchemy.url = sqlite:///production.db + +# necessary for mySQL databases +sqlalchemy.pool_recycle = 3600 # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* # Debug mode will enable the interactive debugging tool, allowing ANYONE to