Revision 4964dc96
Déplacement de la configuration dans des fichiers .ini (development.ini + test.ini) afin de pouvoir supprimer les fichiers .py
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@1955 b22e2e97-25c9-44ff-b637-2e5ceca36478
development.ini | ||
---|---|---|
21 | 21 |
|
22 | 22 |
[app:main] |
23 | 23 |
use = egg:vigigraph |
24 |
|
|
25 |
db_basename= |
|
26 |
;password_hashing_function=md5 |
|
27 |
lang=fr |
|
28 |
use_kerberos=False |
|
29 |
|
|
24 | 30 |
full_stack = true |
25 | 31 |
#lang = ru |
26 | 32 |
cache_dir = %(here)s/data |
... | ... | |
28 | 34 |
beaker.session.secret = somesecret |
29 | 35 |
app.vigicore = / |
30 | 36 |
|
37 |
|
|
38 |
# URL |
|
39 |
rrd_url = "http://localhost/rrdgraph" |
|
40 |
nagios_url = "http://localhost/nagios/cgi-bin" |
|
41 |
|
|
42 |
# Vigigraph - refresh for graphs ( en millisecondes) |
|
43 |
delay_refresh = 5*60*1000 |
|
44 |
|
|
45 |
# separateurs pour export CSV |
|
46 |
# - entre valeurs consecutives |
|
47 |
export_csv_sep_values = ';' |
|
48 |
# - dans une valeur |
|
49 |
export_csv_sep_value = "," |
|
50 |
|
|
31 | 51 |
# If you'd like to fine-tune the individual locations of the cache data dirs |
32 | 52 |
# for the Cache data, or the Session saves, un-comment the desired settings |
33 | 53 |
# here: |
... | ... | |
44 | 64 |
# If you have sqlite, here's a simple default to get you started |
45 | 65 |
# in development |
46 | 66 |
|
47 |
sqlalchemy.url = sqlite:///%(here)s/devdata.db |
|
67 |
sqlalchemy.url=postgres://vigilo:vigilo@localhost/vigilo |
|
68 |
#sqlalchemy.url = sqlite:///%(here)s/devdata.db |
|
48 | 69 |
#echo shouldn't be used together with the logging module. |
49 | 70 |
sqlalchemy.echo = false |
50 | 71 |
sqlalchemy.echo_pool = false |
Also available in: Unified diff