vigigraph / development.ini @ 8a5d38ed
History | View | Annotate | Download (5.1 KB)
1 | 0931fc44 | Thomas BURGUIERE | # |
---|---|---|---|
2 | # vigigraph - 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 | 301d508e | Francois POIROTTE | # that is always required for the app is done in the config directory, |
8 | # and generally should not be modified by end users. |
||
9 | 0931fc44 | Thomas BURGUIERE | |
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 | 301d508e | Francois POIROTTE | host = 0.0.0.0 |
20 | 4cdb7492 | Thomas BURGUIERE | port = 8082 |
21 | 0931fc44 | Thomas BURGUIERE | |
22 | [app:main] |
||
23 | 198885a1 | Aurelien BOMPARD | use = egg:vigilo-vigigraph |
24 | 4964dc96 | Vincent QUEMENER | |
25 | 454df3f9 | Francois POIROTTE | db_basename=vigilo_ |
26 | 51b64e26 | Francois POIROTTE | password_schemes=sha256_crypt |
27 | deprecated_password_schemes=hex_md5 |
||
28 | 4964dc96 | Vincent QUEMENER | lang=fr |
29 | d7188849 | Francois POIROTTE | help_link=http://foo.bar/help |
30 | 566b5b44 | Francois POIROTTE | cache_max_age=0 |
31 | d7188849 | Francois POIROTTE | |
32 | 8a5d38ed | Francois POIROTTE | ; URL vers laquelle l'icône "Maison" redirige. |
33 | ; Les URLs partielles sont relatives à l'application |
||
34 | ; (ex : "/" redirige vers la page principale de l'application). |
||
35 | ; |
||
36 | ; Utiliser une URL absolue pour pointer vers une autre application |
||
37 | ; (ex : "http://example.com/"). |
||
38 | home_link = / |
||
39 | |||
40 | 98c1bcf7 | Thomas BURGUIERE | app.vigicore = / |
41 | 0931fc44 | Thomas BURGUIERE | |
42 | fa7cea2a | Aurelien BOMPARD | ; Emplacement des applications (vigirrd, Nagios, ...) |
43 | 2ed2fd99 | Francois POIROTTE | ; sur les serveurs distants. |
44 | 7c9baa43 | Francois POIROTTE | app_path.vigirrd = / |
45 | 2ed2fd99 | Francois POIROTTE | app_path.nagios = /nagios/ |
46 | |||
47 | ; Schéma ("protocol") à utiliser pour se connecter |
||
48 | ; à l'application. En général : http ou https. |
||
49 | ; Par défaut : http |
||
50 | fa7cea2a | Aurelien BOMPARD | app_scheme.vigirrd = http |
51 | 2ed2fd99 | Francois POIROTTE | app_scheme.nagios = http |
52 | |||
53 | ; Port de connexion au serveur distant hébergeant |
||
54 | ; l'application. |
||
55 | ; Par défaut : 80 |
||
56 | 7c9baa43 | Francois POIROTTE | app_port.vigirrd = 8084 |
57 | 2ed2fd99 | Francois POIROTTE | app_port.nagios = 80 |
58 | 4964dc96 | Vincent QUEMENER | |
59 | 8089d65a | Francois POIROTTE | ; Délai de rafraîchissement (en secondes) |
60 | a5b1b312 | Francois POIROTTE | refresh_delay = 30 |
61 | 4964dc96 | Vincent QUEMENER | |
62 | 8089d65a | Francois POIROTTE | ; Liste des noms des groupes d'utilisateurs privilégiés, |
63 | ; séparés par des virgules. |
||
64 | ; Par défaut : "managers" |
||
65 | admin_groups = managers |
||
66 | |||
67 | 462f589e | Francois POIROTTE | full_stack = true |
68 | cache_dir = %(here)s/data |
||
69 | beaker.session.key = vigigraph |
||
70 | beaker.session.secret = vigilo |
||
71 | sa_auth.cookie_secret = vigilo |
||
72 | |||
73 | 0931fc44 | Thomas BURGUIERE | # If you'd like to fine-tune the individual locations of the cache data dirs |
74 | # for the Cache data, or the Session saves, un-comment the desired settings |
||
75 | # here: |
||
76 | #beaker.cache.data_dir = %(here)s/data/cache |
||
77 | #beaker.session.data_dir = %(here)s/data/sessions |
||
78 | |||
79 | # If you have sqlite, here's a simple default to get you started |
||
80 | # in development |
||
81 | 6a7fa300 | Francois POIROTTE | sqlalchemy.url=postgresql://vigilo:vigilo@127.0.0.1/vigilo |
82 | 4964dc96 | Vincent QUEMENER | #sqlalchemy.url = sqlite:///%(here)s/devdata.db |
83 | 0931fc44 | Thomas BURGUIERE | #echo shouldn't be used together with the logging module. |
84 | sqlalchemy.echo = false |
||
85 | sqlalchemy.echo_pool = false |
||
86 | sqlalchemy.pool_recycle = 3600 |
||
87 | |||
88 | # if you are using Mako and want to be able to reload |
||
89 | # the mako template from disk during the development phase |
||
90 | # you should say 'true' here |
||
91 | # This option is only used for mako templating engine |
||
92 | # WARNING: if you want to deploy your application using a zipped egg |
||
93 | # (ie: if your application's setup.py defines zip-safe=True, then you |
||
94 | # MUST put "false" for the production environment because there will |
||
95 | # be no disk and real files to compare time with. |
||
96 | # On the contrary if your application defines zip-safe=False and is |
||
97 | # deployed in an unzipped manner, then you can leave this option to true |
||
98 | templating.mako.reloadfromdisk = true |
||
99 | |||
100 | # the compiled template dir is a directory that must be readable by your |
||
101 | # webserver. It will be used to store the resulting templates once compiled |
||
102 | # by the TemplateLookup system. |
||
103 | # During development you generally don't need this option since paste's HTTP |
||
104 | # server will have access to you development directories, but in production |
||
105 | # you'll most certainly want to have apache or nginx to write in a directory |
||
106 | # that does not contain any source code in any form for obvious security reasons. |
||
107 | # |
||
108 | #templating.mako.compiled_templates_dir = /some/dir/where/webserver/has/access |
||
109 | |||
110 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
||
111 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
||
112 | # execute malicious code after an exception is raised. |
||
113 | #set debug = false |
||
114 | |||
115 | 301d508e | Francois POIROTTE | auth.config = %(here)s/who.ini |
116 | #auth.log_file = stdout |
||
117 | #auth.log_level = debug |
||
118 | |||
119 | 0931fc44 | Thomas BURGUIERE | # Logging configuration |
120 | # Add additional loggers, handlers, formatters here |
||
121 | # Uses python's logging config file format |
||
122 | # http://docs.python.org/lib/logging-config-fileformat.html |
||
123 | |||
124 | [loggers] |
||
125 | keys = root, vigigraph, sqlalchemy, auth |
||
126 | |||
127 | [handlers] |
||
128 | keys = console |
||
129 | |||
130 | [formatters] |
||
131 | keys = generic |
||
132 | |||
133 | # If you create additional loggers, add them as a key to [loggers] |
||
134 | [logger_root] |
||
135 | level = INFO |
||
136 | handlers = console |
||
137 | |||
138 | [logger_vigigraph] |
||
139 | level = DEBUG |
||
140 | handlers = |
||
141 | qualname = vigigraph |
||
142 | |||
143 | [logger_sqlalchemy] |
||
144 | level = INFO |
||
145 | handlers = |
||
146 | qualname = sqlalchemy.engine |
||
147 | # "level = INFO" logs SQL queries. |
||
148 | # "level = DEBUG" logs SQL queries and results. |
||
149 | # "level = WARN" logs neither. (Recommended for production systems.) |
||
150 | |||
151 | |||
152 | # A logger for authentication, identification and authorization -- this is |
||
153 | # repoze.who and repoze.what: |
||
154 | [logger_auth] |
||
155 | 79e7589f | Francois POIROTTE | level = INFO |
156 | 301d508e | Francois POIROTTE | handlers = |
157 | 0931fc44 | Thomas BURGUIERE | qualname = auth |
158 | |||
159 | # If you create additional handlers, add them as a key to [handlers] |
||
160 | [handler_console] |
||
161 | class = StreamHandler |
||
162 | args = (sys.stderr,) |
||
163 | level = NOTSET |
||
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 |
||
170 | e4ab59c0 | Francois POIROTTE | class = vigilo.common.logging.VigiloFormatter |