|
@@ -1,5 +1,5 @@
|
1
|
1
|
#
|
2
|
|
-# pod - TurboGears 2 development environment configuration
|
|
2
|
+# tracim - TurboGears 2 development environment configuration
|
3
|
3
|
#
|
4
|
4
|
# The %(here)s variable will be replaced with the parent directory of this file
|
5
|
5
|
#
|
|
@@ -23,11 +23,11 @@ port = 8080
|
23
|
23
|
cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
|
24
|
24
|
|
25
|
25
|
[app:main]
|
26
|
|
-use = egg:pod
|
|
26
|
+use = egg:tracim
|
27
|
27
|
full_stack = true
|
28
|
|
-#lang = fr_FR
|
|
28
|
+lang = fr
|
29
|
29
|
cache_dir = %(here)s/data
|
30
|
|
-beaker.session.key = pod
|
|
30
|
+beaker.session.key = tracim
|
31
|
31
|
beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
|
32
|
32
|
|
33
|
33
|
#By default session is store in cookies to avoid the overhead
|
|
@@ -54,7 +54,7 @@ beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
|
54
|
54
|
# invalidate the URI when specifying a SQLite db via path name
|
55
|
55
|
# sqlalchemy.url=postgresql://username:password@hostname:port/databasename
|
56
|
56
|
# sqlalchemy.url=mysql://username:password@hostname:port/databasename
|
57
|
|
-sqlalchemy.url = postgresql://pod_user:pod_user_password@127.0.0.1:5432/pod
|
|
57
|
+sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim
|
58
|
58
|
|
59
|
59
|
#echo shouldn't be used together with the logging module.
|
60
|
60
|
sqlalchemy.echo = false
|
|
@@ -80,11 +80,11 @@ templating.mako.compiled_templates_dir = %(here)s/data/templates
|
80
|
80
|
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
|
81
|
81
|
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
|
82
|
82
|
# execute malicious code after an exception is raised.
|
83
|
|
-#set debug = false
|
|
83
|
+# set debug = false
|
84
|
84
|
|
85
|
85
|
# Logging configuration
|
86
|
86
|
# Add additional loggers, handlers, formatters here
|
87
|
|
-# Uses python's logging config file format
|
|
87
|
+# Uses pythons logging config file format
|
88
|
88
|
# http://docs.python.org/lib/logging-config-fileformat.html
|
89
|
89
|
|
90
|
90
|
#turn this setting to "min" if you would like tw to produce minified
|
|
@@ -94,8 +94,14 @@ toscawidgets.framework.resource_variant=debug
|
94
|
94
|
# if you want to setup analytics like piwik or google analytics, then put the js code in a file and set file path below
|
95
|
95
|
#js_tracker_path = analytics.js
|
96
|
96
|
|
|
97
|
+
|
|
98
|
+# resetpassword.email_sender = email@sender.com
|
|
99
|
+# resetpassword.smtp_host = smtp.sender
|
|
100
|
+# resetpassword.smtp_port = 25
|
|
101
|
+
|
|
102
|
+
|
97
|
103
|
[loggers]
|
98
|
|
-keys = root, pod, sqlalchemy, auth
|
|
104
|
+keys = root, tracim, sqlalchemy, auth
|
99
|
105
|
|
100
|
106
|
[handlers]
|
101
|
107
|
keys = console
|
|
@@ -108,13 +114,13 @@ keys = generic
|
108
|
114
|
level = INFO
|
109
|
115
|
handlers = console
|
110
|
116
|
|
111
|
|
-[logger_pod]
|
|
117
|
+[logger_tracim]
|
112
|
118
|
level = DEBUG
|
113
|
119
|
handlers =
|
114
|
|
-qualname = pod
|
|
120
|
+qualname = tracim
|
115
|
121
|
|
116
|
122
|
[logger_sqlalchemy]
|
117
|
|
-level = INFO
|
|
123
|
+level = WARN
|
118
|
124
|
handlers =
|
119
|
125
|
qualname = sqlalchemy.engine
|
120
|
126
|
# "level = INFO" logs SQL queries.
|