author | cavaliet |
Thu, 09 Oct 2014 11:48:42 +0200 | |
changeset 3 | 1b94e6e9579f |
parent 2 | fc1ab0074e29 |
permissions | -rw-r--r-- |
3 | 1 |
import os.path |
2 |
||
2
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
config = { |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
'web_port': 8080, |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
'ws_port': 8090, |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
'osc_port': 9090, |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
'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
|
8 |
'static_url': 'static', |
fc1ab0074e29
export config in config file + add static file
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
'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
|
10 |
} |