Run Cove Locally
Run Cove locally
Section titled “Run Cove locally”This guide is for developers working on Cove itself, not for ordinary user installs.
What you need
Section titled “What you need”- .NET 10 SDK
- Node.js 22 or newer
- PostgreSQL with pgvector available, or a Cove setup that manages the database side for you
The frontend and backend have separate development loops, so expect to run both during normal work.
Standard local flow
Section titled “Standard local flow”Frontend
Section titled “Frontend”Run the Vite dev server from ui/:
npm installnpm run devBackend
Section titled “Backend”Run the API from src/:
dotnet run --project Cove.ApiThe frontend dev server proxies API and hub traffic to the backend while you work.
When to use a production-style build locally
Section titled “When to use a production-style build locally”Use the normal dev loop for UI and backend changes. Use a built frontend when you specifically need to verify bundled behavior, release-like output, or asset copying into the backend’s web root.
Native instance considerations
Section titled “Native instance considerations”Native development can involve more than one local instance. The main knobs to keep straight are:
COVE_HOME- app port
- managed PostgreSQL port or external connection string
That becomes important when you need parallel test instances or want to isolate a safe demo library from your main development data.
A good first verification loop
Section titled “A good first verification loop”After the app starts:
- sign in
- open a list page
- confirm API-backed data is loading
- make a small frontend change and confirm hot reload
- make a small backend change and confirm the app still serves correctly
If that works, your local loop is ready for feature work.