Skip to main content
Start the Lager Factory web application, a local dashboard for managing production test lines, stations, scripts, and results.

Syntax

lager factory [OPTIONS]

Options

OptionDefaultDescription
--port INT5001Port number to bind the web server to (0-65535)
--host TEXT0.0.0.0Host address to bind to
--helpShow help message and exit

What It Provides

The Factory web application is a locally-hosted dashboard for managing production and test workflows. It includes:
  • Lines and Stations — Define production lines and assign test stations to them
  • Script Management — Upload and manage test scripts that run on Lager Boxes
  • Station Runner — Interactive step-by-step test execution with real-time feedback via WebSocket
  • Results Dashboard — View pass/fail results, run history, and per-station statistics
The web app communicates with Lager Boxes over HTTP (port 5000) to execute test scripts and collect results.

Examples

# Start with default settings (port 5001, all interfaces)
lager factory

# Start on a custom port
lager factory --port 8080

# Bind to localhost only
lager factory --host 127.0.0.1

# Start on a specific port and host
lager factory --port 3000 --host 0.0.0.0

Output

When started, the command displays the local and network URLs:
Lager Factory starting...
  Local:   http://127.0.0.1:5001
  Network: http://192.168.1.100:5001
Open either URL in a web browser to access the dashboard.

Notes

  • The Factory app runs as a foreground process — press Ctrl+C to stop it
  • Binding to 0.0.0.0 (default) makes the dashboard accessible from other devices on your network
  • Lager Boxes must be reachable from the machine running the Factory app
  • Requires the factory/webapp/ directory to be present (included in development installs)
  • The app uses SQLite for persistent storage of lines, stations, and run history