annot-server/config.py.tmpl
author ymh <ymh.work@gmail.com>
Thu, 09 Oct 2014 08:44:36 +0200
changeset 2 fc1ab0074e29
child 3 1b94e6e9579f
permissions -rw-r--r--
export config in config file + add static file

config = {
    'web_port': 8080,
    'ws_port': 8090,
    'osc_port': 9090,
    'conn_str': 'postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]',
    'static_url': 'static',
    'static_root' : os.path.join(os.path.dirname(os.path.abspath(__file__)),'static')
}