Revision 98ab9016
Oubli de conf, et correction d'un petit bug
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@2331 b22e2e97-25c9-44ff-b637-2e5ceca36478
deployment/settings.ini | ||
---|---|---|
49 | 49 |
cache_dir = /tmp/vigilo/vigiboard/data |
50 | 50 |
beaker.session.key = vigiboard |
51 | 51 |
beaker.session.secret = somesecret |
52 |
sa_auth.cookie_secret = vigilo |
|
52 | 53 |
|
53 | 54 |
; If you'd like to fine-tune the individual locations of the cache data dirs |
54 | 55 |
; for the Cache data, or the Session saves, un-comment the desired settings |
vigiboard/websetup.py | ||
---|---|---|
24 | 24 |
from paste.script.appinstall import SetupCommand |
25 | 25 |
import os.path, os |
26 | 26 |
|
27 |
if os.environ['VIGILO_SETTINGS']: |
|
28 |
ini_file = os.environ['VIGILO_SETTINGS'] |
|
29 |
else: |
|
30 |
ini_file = '/etc/vigilo/vigiboard/settings.ini' |
|
27 |
ini_file = os.getenv("VIGILO_SETTINGS", |
|
28 |
"/etc/vigilo/vigiboard/settings.ini") |
|
31 | 29 |
|
32 | 30 |
cmd = SetupCommand('setup-app') |
33 | 31 |
cmd.run([ini_file]) |
Also available in: Unified diff