yera run

Use yera run to serve Yera apps locally and open the browser UI. Give it a Python file to serve the apps in that file, or a directory to discover apps recursively. With no location it serves Yera's built-in apps.

Pass --no-browser to start the server without opening a browser window. The server continues running until you stop it.

Run Yera apps on a local server and use them in the browser UI. Provide a Python file or directory to serve its apps. Omit LOCATION to serve Yera's built-in apps. Use --no-browser to start the server without opening the browser. If the default port is occupied, Yera asks before using another port.

yera run [LOCATION] [--port INT | NONE] [--host STR] [--browser]

Arguments

LOCATION
type: str | None = None

Path to a .py file or directory containing them.

Options

--port
type: int | None = None

Bind an exact port. Omit to prefer port 8991; Yera asks before using another port.

--host
type: str = '127.0.0.1'

Bind address (not a URL).

--browser
type: bool = True
aliases: --no-browser
negative: --no-browser

Whether to open a browser window or run headless.