index.py.ex
author fabien@tzone.org
Tue, 30 Dec 2008 23:32:33 -0500
changeset 67 652ff41518f3
parent 65 index.py@b975a3d7606a
child 68 c1f1491f098c
permissions -rwxr-xr-x
Update index.py and config to use the right information.

#!/usr/bin/python

if (__name__ == '__main__'):
	sys.path.insert(0, "/home/fabien/lib/python")
	sys.path.insert(0, "./lib")

from config import CONFIG

CONFIG.db_name = 'database_name'
CONFIG.db_user = 'my_user'
CONFIG.db_host = 'db.host.com'
CONFIG.db_passwd = 'secr3t.passwd'
# CONFIG.db_port = 5432

import xbelweb

if (__name__ == "__main__"):
	xbelweb.main()