annot-server/config.py.tmpl
author cavaliet
Thu, 09 Oct 2014 11:48:42 +0200
changeset 3 1b94e6e9579f
parent 2 fc1ab0074e29
permissions -rw-r--r--
two little correction on server config

import os.path

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')
}