VidArch Docs
Developers

Local development

Start the client and server from the repository.

Install the dependencies:

npm ci
npm --prefix client ci

Copy .env.example to .env, then run:

npm run dev

The supervisor starts the client on 127.0.0.1:2499 and the API on 127.0.0.1:2498. It must stop its two child processes when you use Ctrl+C.

Targeted commands

npm run dev:server
npm run dev:client
npm run dev:demo

npm run dev:lan intentionally opens the environment to the local network. Do not use it on an untrusted network and configure authentication.

Development data remains under data/ and downloads/ unless overridden by the environment.

On this page