cmd
start
Start script (renamed as visiomatic).
- start_server(app: str = 'visiomatic.server.app:create_app', host: str = 'localhost', port: int = 8009, root_path: str = '', workers: int = 4, access_log: bool = False, reload: bool = True)[source]
Start the Uvicorn server in application factory mode.
- Parameters:
app (str, optional) -- Name of the ASGI app callable.
host (str, optional) -- Host name or IP address.
port (int, optional) -- Port.
workers (int, optional) -- Number of workers.
access_log (bool, optional) -- Display access log.
reload (bool, optional) -- Enable auto-reload (turns off multiple workers).