source: ibidas.py @ 212

Last change on this file since 212 was 212, checked in by pvkouteren, 11 years ago

Modified setup scripts for parameters, mydatasets_view and SOAP serializers.
Added checks and fixes to SOAPServer and serializers.

File size: 846 bytes
Line 
1from IPython.Shell import IPShellEmbed
2
3import container
4from container import iany,iall,imax,imin,inot,readfile,writefile,vector,table,scalar
5import config
6from container import postgres
7
8_ConfigDefault = {
9    "database.name":                "ibidas_test",
10    "database.user":                "bla",
11    "database.password":            "bla",
12    "database.host":                "127.0.0.1",
13    "database.port":                "5432",
14}
15
16
17config = config.loadConfig('ibidas.ini',_ConfigDefault)
18
19
20#print config
21cd = postgres.openConnection(config['database.host'],\
22            config['database.port'],config['database.name'],\
23            config['database.user'],config['database.password']).getConSet()
24
25
26ipshell = IPShellEmbed(banner='Welcome to the IBIDAS system',exit_msg='IBIDAS shutting down ...')
27del ipshell.IP.user_ns['_']
28ipshell()
Note: See TracBrowser for help on using the repository browser.