author | fabien@tzone.org |
Wed, 31 Dec 2008 01:22:07 -0500 | |
changeset 71 | 591ffdca8041 |
parent 68 | c1f1491f098c |
permissions | -rw-r--r-- |
0 | 1 |
#!/usr/bin/python |
2 |
||
15 | 3 |
if (__name__ == '__main__'): |
68 | 4 |
import sys |
15 | 5 |
sys.path.insert(0, "./lib") |
0 | 6 |
|
67
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
7 |
from config import CONFIG |
0 | 8 |
|
67
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
9 |
CONFIG.db_name = 'database_name' |
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
10 |
CONFIG.db_user = 'my_user' |
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
11 |
CONFIG.db_host = 'db.host.com' |
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
12 |
CONFIG.db_passwd = 'secr3t.passwd' |
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
13 |
# CONFIG.db_port = 5432 |
65
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
58
diff
changeset
|
14 |
|
67
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
15 |
import xbelweb |
0 | 16 |
|
17 |
if (__name__ == "__main__"): |
|
67
652ff41518f3
Update index.py and config to use the right information.
fabien@tzone.org
parents:
65
diff
changeset
|
18 |
xbelweb.main() |