vigiboard / development.ini @ 0f56fff9
History | View | Annotate | Download (5.09 KB)
1 | 49c8da1d | Thomas ANDREJAK | # |
---|---|---|---|
2 | # vigiboard - Pylons 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 = paste@localhost |
||
16 | |||
17 | [server:main] |
||
18 | use = egg:Paste#http |
||
19 | host = 127.0.0.1 |
||
20 | port = 8080 |
||
21 | |||
22 | [app:main] |
||
23 | use = egg:vigiboard |
||
24 | b4aa7dff | Thomas ANDREJAK | |
25 | 0f56fff9 | Francois POIROTTE | ; Nombre d'évènements par page. |
26 | vigiboard_item_per_page = 15 |
||
27 | |||
28 | ; URL vers laquelle le logo de Vigilo redirige. |
||
29 | vigiboard_links.logo = / |
||
30 | |||
31 | ; XXX PasteDeploy uses ConfigParser which doesn't play well with interpolation. |
||
32 | ; See http://trac.pythonpaste.org/pythonpaste/ticket/379 |
||
33 | ; |
||
34 | ; vigicore/patches/paste_deploy_SafeConfigParser.diff contains a patch to |
||
35 | ; use SafeConfigParser which supports string interpolation escapes. |
||
36 | ; |
||
37 | ; URL des tickets, possibilités: |
||
38 | ; - %(idevent)d |
||
39 | ; - %(host)s |
||
40 | ; - %(service)s |
||
41 | ; - %(tt)s |
||
42 | vigiboard_links.tt = http://example4.com/%%(idevent)d/%%(tt)s |
||
43 | |||
44 | ; Default font size, must be a valid size as per the CSS 2.1 specification. |
||
45 | ; See http://www.w3.org/TR/CSS21/fonts.html#font-size-props |
||
46 | vigiboard_font.size = 10px |
||
47 | |||
48 | b4aa7dff | Thomas ANDREJAK | |
49 | 49c8da1d | Thomas ANDREJAK | full_stack = true |
50 | 51ede5e8 | Thomas ANDREJAK | #lang = fr |
51 | 49c8da1d | Thomas ANDREJAK | cache_dir = %(here)s/data |
52 | beaker.session.key = vigiboard |
||
53 | beaker.session.secret = somesecret |
||
54 | |||
55 | # If you'd like to fine-tune the individual locations of the cache data dirs |
||
56 | # for the Cache data, or the Session saves, un-comment the desired settings |
||
57 | # here: |
||
58 | #beaker.cache.data_dir = %(here)s/data/cache |
||
59 | #beaker.session.data_dir = %(here)s/data/sessions |
||
60 | |||
61 | 34daaff8 | Gabriel DE PERTHUIS | # DB - sqlite fails, not postgresql ready, use mysql for now |
62 | #sqlalchemy.url = sqlite:///%(here)s/devdata.db |
||
63 | #sqlalchemy.url=mysql://vigiboard:penmdor@localhost/vigiboard |
||
64 | d3c47597 | Francois POIROTTE | #sqlalchemy.url=postgres://vigiboard:tandreja@localhost/vigiboard |
65 | 9c0dbb6a | Thomas ANDREJAK | #sqlalchemy.url=mysql://root:tandreja@localhost:3306/vigiboard |
66 | 49c8da1d | Thomas ANDREJAK | #echo shouldn't be used together with the logging module. |
67 | sqlalchemy.echo = false |
||
68 | sqlalchemy.echo_pool = false |
||
69 | sqlalchemy.pool_recycle = 3600 |
||
70 | |||
71 | 4f9d6461 | Thomas ANDREJAK | base_url_filter.base_url= |
72 | 49c8da1d | Thomas ANDREJAK | # if you are using Mako and want to be able to reload |
73 | # the mako template from disk during the development phase |
||
74 | # you should say 'true' here |
||
75 | # This option is only used for mako templating engine |
||
76 | # WARNING: if you want to deploy your application using a zipped egg |
||
77 | # (ie: if your application's setup.py defines zip-safe=True, then you |
||
78 | # MUST put "false" for the production environment because there will |
||
79 | # be no disk and real files to compare time with. |
||
80 | # On the contrary if your application defines zip-safe=False and is |
||
81 | # deployed in an unzipped manner, then you can leave this option to true |
||
82 | templating.mako.reloadfromdisk = true |
||
83 | |||
84 | # the compiled template dir is a directory that must be readable by your |
||
85 | # webserver. It will be used to store the resulting templates once compiled |
||
86 | # by the TemplateLookup system. |
||
87 | # During development you generally don't need this option since paste's HTTP |
||
88 | # server will have access to you development directories, but in production |
||
89 | # you'll most certainly want to have apache or nginx to write in a directory |
||
90 | # that does not contain any source code in any form for obvious security reasons. |
||
91 | # |
||
92 | #templating.mako.compiled_templates_dir = /some/dir/where/webserver/has/access |
||
93 | |||
94 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
||
95 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
||
96 | # execute malicious code after an exception is raised. |
||
97 | #set debug = false |
||
98 | |||
99 | # Logging configuration |
||
100 | # Add additional loggers, handlers, formatters here |
||
101 | # Uses python's logging config file format |
||
102 | # http://docs.python.org/lib/logging-config-fileformat.html |
||
103 | |||
104 | [loggers] |
||
105 | keys = root, vigiboard, sqlalchemy, auth |
||
106 | |||
107 | [handlers] |
||
108 | keys = console,sql_log,root_log,vigiboard_log,auth_log |
||
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 = DEBUG |
||
116 | handlers = root_log |
||
117 | |||
118 | [logger_vigiboard] |
||
119 | level = DEBUG |
||
120 | handlers = vigiboard_log |
||
121 | qualname = vigiboard |
||
122 | |||
123 | [logger_sqlalchemy] |
||
124 | level = DEBUG |
||
125 | handlers = sql_log |
||
126 | qualname = sqlalchemy.engine |
||
127 | |||
128 | # A logger for authentication, identification and authorization -- this is |
||
129 | # repoze.who and repoze.what: |
||
130 | [logger_auth] |
||
131 | level = DEBUG |
||
132 | handlers = auth_log |
||
133 | qualname = auth |
||
134 | |||
135 | # If you create additional handlers, add them as a key to [handlers] |
||
136 | [handler_console] |
||
137 | class = StreamHandler |
||
138 | args = (sys.stderr,) |
||
139 | level = NOTSET |
||
140 | formatter = generic |
||
141 | |||
142 | [handler_sql_log] |
||
143 | class = FileHandler |
||
144 | args = ('log/sql.log','a') |
||
145 | level = DEBUG |
||
146 | formatter = generic |
||
147 | |||
148 | [handler_root_log] |
||
149 | class = FileHandler |
||
150 | args = ('log/root.log','a') |
||
151 | level = DEBUG |
||
152 | formatter = generic |
||
153 | |||
154 | [handler_vigiboard_log] |
||
155 | class = FileHandler |
||
156 | args = ('log/vigiboard.log','a') |
||
157 | level = DEBUG |
||
158 | formatter = generic |
||
159 | |||
160 | [handler_auth_log] |
||
161 | class = FileHandler |
||
162 | args = ('log/auth.log','a') |
||
163 | level = DEBUG |
||
164 | formatter = generic |
||
165 | |||
166 | # If you create additional formatters, add them as a key to [formatters] |
||
167 | [formatter_generic] |
||
168 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
||
169 | datefmt = %H:%M:%S |