MCPcopy
hub / github.com/pallets/werkzeug / runserver

Function runserver

examples/manage-i18nurls.py:20–34  ·  view source on GitHub ↗

Start a new development server.

(hostname, port, no_reloader, debugger, no_evalex, threaded, processes)

Source from the content-addressed store, hash-verified

18@click.option("--threaded", is_flag=True)
19@click.option("--processes", type=int, default=1, help="1")
20def runserver(hostname, port, no_reloader, debugger, no_evalex, threaded, processes):
21 """Start a new development server."""
22 app = make_app()
23 reloader = not no_reloader
24 evalex = not no_evalex
25 run_simple(
26 hostname,
27 port,
28 app,
29 use_reloader=reloader,
30 use_debugger=debugger,
31 use_evalex=evalex,
32 threaded=threaded,
33 processes=processes,
34 )
35
36
37@cli.command()

Callers

nothing calls this directly

Calls 2

run_simpleFunction · 0.90
make_appFunction · 0.70

Tested by

no test coverage detected