|
@@ -1,149 +0,0 @@
|
1
|
|
-#
|
2
|
|
-# tracim - TurboGears 2 development environment configuration
|
3
|
|
-#
|
4
|
|
-# The %(here)s variable will be replaced with the parent directory of this file
|
5
|
|
-#
|
6
|
|
-# This file is for deployment specific config options -- other configuration
|
7
|
|
-# that is always required for the app is done in the config directory,
|
8
|
|
-# and generally should not be modified by end users.
|
9
|
|
-
|
10
|
|
-[DEFAULT]
|
11
|
|
-debug = true
|
12
|
|
-# Uncomment and replace with the address which should receive any error reports
|
13
|
|
-#email_to = you@yourdomain.com
|
14
|
|
-smtp_server = localhost
|
15
|
|
-error_email_from = turbogears@localhost
|
16
|
|
-
|
17
|
|
-[server:main]
|
18
|
|
-use = egg:gearbox#wsgiref
|
19
|
|
-host = 0.0.0.0
|
20
|
|
-port = 8080
|
21
|
|
-
|
22
|
|
-[sa_auth]
|
23
|
|
-cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
|
24
|
|
-
|
25
|
|
-[app:main]
|
26
|
|
-use = egg:tracim
|
27
|
|
-full_stack = true
|
28
|
|
-lang = fr
|
29
|
|
-cache_dir = %(here)s/data
|
30
|
|
-beaker.session.key = tracim
|
31
|
|
-beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
|
32
|
|
-
|
33
|
|
-#By default session is store in cookies to avoid the overhead
|
34
|
|
-#of having to manage a session storage. On production you might
|
35
|
|
-#want to switch to a better session storage.
|
36
|
|
-beaker.session.type = cookie
|
37
|
|
-beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
|
38
|
|
-
|
39
|
|
-# Disable template autoreload to boost performances in production
|
40
|
|
-# WARNING: if you want to deploy your application using a zipped egg
|
41
|
|
-# (ie: if your application's setup.py defines zip-safe=True, then you
|
42
|
|
-# MUST put "false" for the production environment because there will
|
43
|
|
-# be no disk and real files to compare time with.
|
44
|
|
-#auto_reload_templates = false
|
45
|
|
-
|
46
|
|
-# If you'd like to fine-tune the individual locations of the cache data dirs
|
47
|
|
-# for the Cache data, or the Session saves, un-comment the desired settings
|
48
|
|
-# here:
|
49
|
|
-#beaker.cache.data_dir = %(here)s/data/cache
|
50
|
|
-#beaker.session.data_dir = %(here)s/data/sessions
|
51
|
|
-
|
52
|
|
-# pick the form for your database
|
53
|
|
-# %(here) may include a ':' character on Windows environments; this can
|
54
|
|
-# invalidate the URI when specifying a SQLite db via path name
|
55
|
|
-# sqlalchemy.url=postgresql://username:password@hostname:port/databasename
|
56
|
|
-# sqlalchemy.url=mysql://username:password@hostname:port/databasename
|
57
|
|
-# OLD sqlalchemy.url = postgresql://tracimuser:tracimpassword@127.0.0.1:5432/tracimdb
|
58
|
|
-sqlalchemy.url = postgresql://poduser:podpassword@127.0.0.1:5432/tracimdbprod
|
59
|
|
-
|
60
|
|
-#echo shouldn't be used together with the logging module.
|
61
|
|
-sqlalchemy.echo = false
|
62
|
|
-sqlalchemy.echo_pool = false
|
63
|
|
-sqlalchemy.pool_recycle = 3600
|
64
|
|
-
|
65
|
|
-# This line ensures that Genshi will render xhtml when sending the
|
66
|
|
-# output. Change to html or xml, as desired.
|
67
|
|
-templating.genshi.method = xhtml
|
68
|
|
-templating.genshi.doctype = html5
|
69
|
|
-
|
70
|
|
-# the compiled template dir is a directory that must be readable and writable
|
71
|
|
-# by your webserver. It will be used to store the resulting templates once
|
72
|
|
-# compiled by the TemplateLookup system.
|
73
|
|
-# During development you generally don't need this option since paste's HTTP
|
74
|
|
-# server will have access to you development directories, but in production
|
75
|
|
-# you'll most certainly want to have apache or nginx to write in a directory
|
76
|
|
-# that does not contain any source code in any form for obvious security
|
77
|
|
-# reasons. If disabled, None, False, or not writable, it will fall back
|
78
|
|
-# to an in-memory cache.
|
79
|
|
-templating.mako.compiled_templates_dir = %(here)s/data/templates
|
80
|
|
-
|
81
|
|
-# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
|
82
|
|
-# Debug mode will enable the interactive debugging tool, allowing ANYONE to
|
83
|
|
-# execute malicious code after an exception is raised.
|
84
|
|
-# set debug = false
|
85
|
|
-
|
86
|
|
-# Logging configuration
|
87
|
|
-# Add additional loggers, handlers, formatters here
|
88
|
|
-# Uses pythons logging config file format
|
89
|
|
-# http://docs.python.org/lib/logging-config-fileformat.html
|
90
|
|
-
|
91
|
|
-#turn this setting to "min" if you would like tw to produce minified
|
92
|
|
-#javascript files (if your library supports that)
|
93
|
|
-toscawidgets.framework.resource_variant=debug
|
94
|
|
-
|
95
|
|
-# if you want to setup analytics like piwik or google analytics, then put the js code in a file and set file path below
|
96
|
|
-#js_tracker_path = analytics.js
|
97
|
|
-
|
98
|
|
-
|
99
|
|
-resetpassword.email_sender = damien.accorsi@free.fr
|
100
|
|
-resetpassword.smtp_host = smtp.free.fr
|
101
|
|
-resetpassword.smtp_port = 25
|
102
|
|
-
|
103
|
|
-
|
104
|
|
-[loggers]
|
105
|
|
-keys = root, tracim, sqlalchemy, auth
|
106
|
|
-
|
107
|
|
-[handlers]
|
108
|
|
-keys = console
|
109
|
|
-
|
110
|
|
-[formatters]
|
111
|
|
-keys = generic
|
112
|
|
-
|
113
|
|
-# If you create additional loggers, add them as a key to [loggers]
|
114
|
|
-[logger_root]
|
115
|
|
-level = INFO
|
116
|
|
-handlers = console
|
117
|
|
-
|
118
|
|
-[logger_tracim]
|
119
|
|
-level = DEBUG
|
120
|
|
-handlers =
|
121
|
|
-qualname = tracim
|
122
|
|
-
|
123
|
|
-[logger_sqlalchemy]
|
124
|
|
-level = WARN
|
125
|
|
-handlers =
|
126
|
|
-qualname = sqlalchemy.engine
|
127
|
|
-# "level = INFO" logs SQL queries.
|
128
|
|
-# "level = DEBUG" logs SQL queries and results.
|
129
|
|
-# "level = WARN" logs neither. (Recommended for production systems.)
|
130
|
|
-
|
131
|
|
-# A logger for authentication, identification and authorization
|
132
|
|
-# this is repoze.who:
|
133
|
|
-[logger_auth]
|
134
|
|
-level = WARN
|
135
|
|
-handlers =
|
136
|
|
-qualname = auth
|
137
|
|
-
|
138
|
|
-# If you create additional handlers, add them as a key to [handlers]
|
139
|
|
-[handler_console]
|
140
|
|
-class = StreamHandler
|
141
|
|
-args = (sys.stderr,)
|
142
|
|
-level = NOTSET
|
143
|
|
-formatter = generic
|
144
|
|
-
|
145
|
|
-# If you create additional formatters, add them as a key to [formatters]
|
146
|
|
-[formatter_generic]
|
147
|
|
-format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
|
148
|
|
-datefmt = %H:%M:%S
|
149
|
|
-
|