vigiboard / development.ini @ a8f27bb3
History | View | Annotate | Download (5.07 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 | ee3ae8c8 | Francois POIROTTE | vigiboard_items_per_page = 15 |
27 | 0f56fff9 | Francois POIROTTE | |
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 | c49defb8 | Francois POIROTTE | ; - %(idaggregate)s |
39 | 0f56fff9 | Francois POIROTTE | ; - %(host)s |
40 | ; - %(service)s |
||
41 | ; - %(tt)s |
||
42 | c49defb8 | Francois POIROTTE | vigiboard_links.tt = http://example4.com/%%(idaggregate)s/%%(tt)s |
43 | 0f56fff9 | Francois POIROTTE | |
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 | # if you are using Mako and want to be able to reload |
||
72 | # the mako template from disk during the development phase |
||
73 | # you should say 'true' here |
||
74 | # This option is only used for mako templating engine |
||
75 | # WARNING: if you want to deploy your application using a zipped egg |
||
76 | # (ie: if your application's setup.py defines zip-safe=True, then you |
||
77 | # MUST put "false" for the production environment because there will |
||
78 | # be no disk and real files to compare time with. |
||
79 | # On the contrary if your application defines zip-safe=False and is |
||
80 | # deployed in an unzipped manner, then you can leave this option to true |
||
81 | templating.mako.reloadfromdisk = true |
||
82 | |||
83 | # the compiled template dir is a directory that must be readable by your |
||
84 | # webserver. It will be used to store the resulting templates once compiled |
||
85 | # by the TemplateLookup system. |
||
86 | # During development you generally don't need this option since paste's HTTP |
||
87 | # server will have access to you development directories, but in production |
||
88 | # you'll most certainly want to have apache or nginx to write in a directory |
||
89 | # that does not contain any source code in any form for obvious security reasons. |
||
90 | # |
||
91 | #templating.mako.compiled_templates_dir = /some/dir/where/webserver/has/access |
||
92 | |||
93 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
||
94 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
||
95 | # execute malicious code after an exception is raised. |
||
96 | #set debug = false |
||
97 | |||
98 | # Logging configuration |
||
99 | # Add additional loggers, handlers, formatters here |
||
100 | # Uses python's logging config file format |
||
101 | # http://docs.python.org/lib/logging-config-fileformat.html |
||
102 | |||
103 | [loggers] |
||
104 | keys = root, vigiboard, sqlalchemy, auth |
||
105 | |||
106 | [handlers] |
||
107 | keys = console,sql_log,root_log,vigiboard_log,auth_log |
||
108 | |||
109 | [formatters] |
||
110 | keys = generic |
||
111 | |||
112 | # If you create additional loggers, add them as a key to [loggers] |
||
113 | [logger_root] |
||
114 | 3d0d254c | Francois POIROTTE | level = INFO |
115 | handlers = console |
||
116 | 49c8da1d | Thomas ANDREJAK | |
117 | [logger_vigiboard] |
||
118 | level = DEBUG |
||
119 | handlers = vigiboard_log |
||
120 | qualname = vigiboard |
||
121 | |||
122 | [logger_sqlalchemy] |
||
123 | 3d0d254c | Francois POIROTTE | level = INFO |
124 | 49c8da1d | Thomas ANDREJAK | handlers = sql_log |
125 | qualname = sqlalchemy.engine |
||
126 | |||
127 | # A logger for authentication, identification and authorization -- this is |
||
128 | # repoze.who and repoze.what: |
||
129 | [logger_auth] |
||
130 | 3d0d254c | Francois POIROTTE | level = WARN |
131 | 49c8da1d | Thomas ANDREJAK | handlers = auth_log |
132 | qualname = auth |
||
133 | |||
134 | # If you create additional handlers, add them as a key to [handlers] |
||
135 | [handler_console] |
||
136 | class = StreamHandler |
||
137 | args = (sys.stderr,) |
||
138 | level = NOTSET |
||
139 | formatter = generic |
||
140 | |||
141 | [handler_sql_log] |
||
142 | class = FileHandler |
||
143 | args = ('log/sql.log','a') |
||
144 | level = DEBUG |
||
145 | formatter = generic |
||
146 | |||
147 | [handler_root_log] |
||
148 | class = FileHandler |
||
149 | args = ('log/root.log','a') |
||
150 | level = DEBUG |
||
151 | formatter = generic |
||
152 | |||
153 | [handler_vigiboard_log] |
||
154 | class = FileHandler |
||
155 | args = ('log/vigiboard.log','a') |
||
156 | level = DEBUG |
||
157 | formatter = generic |
||
158 | |||
159 | [handler_auth_log] |
||
160 | class = FileHandler |
||
161 | args = ('log/auth.log','a') |
||
162 | level = DEBUG |
||
163 | formatter = generic |
||
164 | |||
165 | # If you create additional formatters, add them as a key to [formatters] |
||
166 | [formatter_generic] |
||
167 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
||
168 | datefmt = %H:%M:%S |