| author | cavaliet |
| Thu, 09 Oct 2014 15:22:50 +0200 | |
| changeset 6 | c53e9b24f93f |
| parent 3 | 1b94e6e9579f |
| 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 |
} |