Exemplo n.º 1
0
def runserver(hostname, port, reloader, debugger, evalex, threaded, processes):
    """Start a new development server."""
    app = make_app()
    run_simple(hostname,
               port,
               app,
               use_reloader=reloader,
               use_debugger=debugger,
               use_evalex=evalex,
               threaded=threaded,
               processes=processes)
Exemplo n.º 2
0
def make_app():
    from cupoftee import make_app

    return make_app("/tmp/cupoftee.db")
Exemplo n.º 3
0
def make_app():
    from cupoftee import make_app
    return make_app('/tmp/cupoftee.db')