vigiboard / development.ini @ ffb803df
History | View | Annotate | Download (5.05 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 | 3e6ee4db | 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 | 3e6ee4db | Francois POIROTTE | ; Ordre de tri pour la priorité des événements. |
32 | 434b574d | Francois POIROTTE | ; - Utiliser "asc" si la priorité est inversement proportionnelle à sa |
33 | ; valeur (ie: plus le nombre est bas, plus la priorité est élevée). |
||
34 | ; - Utiliser "desc" si la priorité est proportionnelle à sa valeur |
||
35 | ffb803df | Francois POIROTTE | ; (ie: plus le nombre est élevé, plus la priorité est élevée). |
36 | 434b574d | Francois POIROTTE | ; NE PAS METTRE DE GUILLEMETS/APOSTROPHES AUTOUR DE LA VALEUR. |
37 | vigiboard_priority_order = asc |
||
38 | |||
39 | 0f56fff9 | Francois POIROTTE | ; Default font size, must be a valid size as per the CSS 2.1 specification. |
40 | ; See http://www.w3.org/TR/CSS21/fonts.html#font-size-props |
||
41 | vigiboard_font.size = 10px |
||
42 | |||
43 | b4aa7dff | Thomas ANDREJAK | |
44 | 49c8da1d | Thomas ANDREJAK | full_stack = true |
45 | 51ede5e8 | Thomas ANDREJAK | #lang = fr |
46 | 49c8da1d | Thomas ANDREJAK | cache_dir = %(here)s/data |
47 | beaker.session.key = vigiboard |
||
48 | beaker.session.secret = somesecret |
||
49 | |||
50 | # If you'd like to fine-tune the individual locations of the cache data dirs |
||
51 | # for the Cache data, or the Session saves, un-comment the desired settings |
||
52 | # here: |
||
53 | #beaker.cache.data_dir = %(here)s/data/cache |
||
54 | #beaker.session.data_dir = %(here)s/data/sessions |
||
55 | |||
56 | 34daaff8 | Gabriel DE PERTHUIS | # DB - sqlite fails, not postgresql ready, use mysql for now |
57 | #sqlalchemy.url = sqlite:///%(here)s/devdata.db |
||
58 | #sqlalchemy.url=mysql://vigiboard:penmdor@localhost/vigiboard |
||
59 | d3c47597 | Francois POIROTTE | #sqlalchemy.url=postgres://vigiboard:tandreja@localhost/vigiboard |
60 | 9c0dbb6a | Thomas ANDREJAK | #sqlalchemy.url=mysql://root:tandreja@localhost:3306/vigiboard |
61 | 49c8da1d | Thomas ANDREJAK | #echo shouldn't be used together with the logging module. |
62 | sqlalchemy.echo = false |
||
63 | sqlalchemy.echo_pool = false |
||
64 | sqlalchemy.pool_recycle = 3600 |
||
65 | |||
66 | # if you are using Mako and want to be able to reload |
||
67 | # the mako template from disk during the development phase |
||
68 | # you should say 'true' here |
||
69 | # This option is only used for mako templating engine |
||
70 | # WARNING: if you want to deploy your application using a zipped egg |
||
71 | # (ie: if your application's setup.py defines zip-safe=True, then you |
||
72 | # MUST put "false" for the production environment because there will |
||
73 | # be no disk and real files to compare time with. |
||
74 | # On the contrary if your application defines zip-safe=False and is |
||
75 | # deployed in an unzipped manner, then you can leave this option to true |
||
76 | templating.mako.reloadfromdisk = true |
||
77 | |||
78 | # the compiled template dir is a directory that must be readable by your |
||
79 | # webserver. It will be used to store the resulting templates once compiled |
||
80 | # by the TemplateLookup system. |
||
81 | # During development you generally don't need this option since paste's HTTP |
||
82 | # server will have access to you development directories, but in production |
||
83 | # you'll most certainly want to have apache or nginx to write in a directory |
||
84 | # that does not contain any source code in any form for obvious security reasons. |
||
85 | # |
||
86 | #templating.mako.compiled_templates_dir = /some/dir/where/webserver/has/access |
||
87 | |||
88 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
||
89 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
||
90 | # execute malicious code after an exception is raised. |
||
91 | #set debug = false |
||
92 | |||
93 | # Logging configuration |
||
94 | # Add additional loggers, handlers, formatters here |
||
95 | # Uses python's logging config file format |
||
96 | # http://docs.python.org/lib/logging-config-fileformat.html |
||
97 | |||
98 | [loggers] |
||
99 | keys = root, vigiboard, sqlalchemy, auth |
||
100 | |||
101 | [handlers] |
||
102 | keys = console,sql_log,root_log,vigiboard_log,auth_log |
||
103 | |||
104 | [formatters] |
||
105 | keys = generic |
||
106 | |||
107 | # If you create additional loggers, add them as a key to [loggers] |
||
108 | [logger_root] |
||
109 | 3d0d254c | Francois POIROTTE | level = INFO |
110 | handlers = console |
||
111 | 49c8da1d | Thomas ANDREJAK | |
112 | [logger_vigiboard] |
||
113 | 3e6ee4db | Francois POIROTTE | level = INFO |
114 | 49c8da1d | Thomas ANDREJAK | handlers = vigiboard_log |
115 | qualname = vigiboard |
||
116 | |||
117 | [logger_sqlalchemy] |
||
118 | 3d0d254c | Francois POIROTTE | level = INFO |
119 | 49c8da1d | Thomas ANDREJAK | handlers = sql_log |
120 | qualname = sqlalchemy.engine |
||
121 | |||
122 | # A logger for authentication, identification and authorization -- this is |
||
123 | # repoze.who and repoze.what: |
||
124 | [logger_auth] |
||
125 | 3d0d254c | Francois POIROTTE | level = WARN |
126 | 49c8da1d | Thomas ANDREJAK | handlers = auth_log |
127 | qualname = auth |
||
128 | |||
129 | # If you create additional handlers, add them as a key to [handlers] |
||
130 | [handler_console] |
||
131 | class = StreamHandler |
||
132 | args = (sys.stderr,) |
||
133 | level = NOTSET |
||
134 | formatter = generic |
||
135 | |||
136 | [handler_sql_log] |
||
137 | class = FileHandler |
||
138 | args = ('log/sql.log','a') |
||
139 | 3e6ee4db | Francois POIROTTE | level = INFO |
140 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
141 | |||
142 | [handler_root_log] |
||
143 | class = FileHandler |
||
144 | args = ('log/root.log','a') |
||
145 | 3e6ee4db | Francois POIROTTE | level = INFO |
146 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
147 | |||
148 | [handler_vigiboard_log] |
||
149 | class = FileHandler |
||
150 | args = ('log/vigiboard.log','a') |
||
151 | 3e6ee4db | Francois POIROTTE | level = INFO |
152 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
153 | |||
154 | [handler_auth_log] |
||
155 | class = FileHandler |
||
156 | args = ('log/auth.log','a') |
||
157 | 3e6ee4db | Francois POIROTTE | level = INFO |
158 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
159 | |||
160 | # If you create additional formatters, add them as a key to [formatters] |
||
161 | [formatter_generic] |
||
162 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
||
163 | datefmt = %H:%M:%S |