Development Setup¶
Prerequisites¶
- Go 1.23+
- Node.js 20+
- npm
Clone and Setup¶
Build Go Daemon¶
Install Frontend Dependencies¶
Development Workflow¶
Terminal 1: Go Daemon¶
Terminal 2: Vite Dev Server¶
Terminal 3: Electron¶
Or use the combined command:
Hot Reload¶
- Frontend: Vite provides instant hot reload
- Go Daemon: Restart manually after changes
Building for Production¶
# Build Go daemon
go build -o bin/daemon ./cmd/daemon/
# Build frontend
cd desktop
npm run build
# Package Electron app (TODO)