author | ymh <ymh.work@gmail.com> |
Thu, 09 Oct 2014 08:44:36 +0200 | |
changeset 2 | fc1ab0074e29 |
child 3 | 1b94e6e9579f |
permissions | -rw-r--r-- |
2
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
config = { |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
'web_port': 8080, |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
'ws_port': 8090, |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
'osc_port': 9090, |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
'conn_str': 'postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]', |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
'static_url': 'static', |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
'static_root' : os.path.join(os.path.dirname(os.path.abspath(__file__)),'static') |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
8 |
} |