8000 homectl/ui at master · Pingviinituutti/homectl · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

ui

Folders and files

README.md

homectl-ui

Setup

  1. Install dependencies: pnpm install
  2. Start the homectl server on port 45289
  3. Run pnpm dev for the Vite dev server, or pnpm build to produce a production bundle

Running in development mode (immediately see your changes)

pnpm dev

The Vite dev server proxies /api, /health, and /ws to the Rust backend on localhost:45289.

Running in production mode (app works much faster this way)

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.

0