Made the template for the deployment.ini more project specific.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 22 Dec 2010 21:59:26 +0000 (21:59 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 22 Dec 2010 21:59:26 +0000 (21:59 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@714 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrfeed/config/deployment.ini_tmpl

index 19971ed6aaa21a5916283c0a595d9fc1d9e3c755..0c0bbd7c30dcfd2387414fa73a54b9ae634a3e57 100644 (file)
@@ -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