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