- Install dependencies:
pnpm install - Start the homectl server on port
45289 - Run
pnpm devfor the Vite dev server, orpnpm buildto produce a production bundle
pnpm dev
The Vite dev server proxies /api, /health, and /ws to the Rust backend on localhost:45289.
pnpm build
The production bundle is written to ui/dist. The new unified root Docker image copies that bundle into the same container as homectl-server, which then serves both the SPA and the backend API from port 45289.