Project

General

Profile

Revision 87cf652b

ID87cf652bf39d7b5ddf48dadb529e39d8d6e3921b
Parent 9cc80ca6
Child 3b9a145c

Added by Francois POIROTTE over 14 years ago

Correction des websetup des différentes applications.
Correction de petits problèmes pour la gestion du préfixe des tables.
Mise à jour des scripts de manipulation de la BDD.

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@2560 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigigraph/websetup.py
3 3

  
4 4
import logging
5 5

  
6
import transaction
7
from tg import config
8

  
9 6
from vigigraph.config.environment import load_environment
10 7
from vigilo.turbogears import populate_db 
11 8

  
......
27 24
    from paste.script.appinstall import SetupCommand
28 25
    import os.path
29 26

  
30
    ini_file = '/etc/vigilo/vigigraph/settings.ini'
31
    ini_file = os.path.join('/', *ini_file.split('/'))
27
    ini_file = os.getenv("VIGILO_SETTINGS",
28
                         "/etc/vigilo/vigigraph/settings.ini")
32 29

  
33 30
    cmd = SetupCommand('setup-app')
34 31
    cmd.run([ini_file])

Also available in: Unified diff