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.

  • root_path (str | Path, optional) -- ASGI root_path.

  • workers (int, optional) -- Number of workers.

  • access_log (bool, optional) -- Display access log.

  • reload (bool, optional) -- Enable auto-reload (turns off multiple workers).

main() int[source]

Set up configuration and start the VisiOmatic server.