Skip to content

Local Development

The public portal lives at apps/portal.

Terminal window
cd apps/portal
npm run dev

If file watchers fail on Linux, the existing README suggests polling:

Terminal window
CHOKIDAR_USEPOLLING=true npm run dev

The application frontend lives at repos/VectorHub-dev/frontend/vectorhub.

Terminal window
cd repos/VectorHub-dev/frontend/vectorhub
npm install
npm run dev

Confirmed frontend routes include /login, /connect, /pending-approval, /space, /space/auth, /space/auth/users, /space/:spaceid/dashboard and /space/:spaceid/chunk-editor/:documentId?.

The backend lives at repos/VectorHub-dev/backend1/Client.

Terminal window
cd repos/VectorHub-dev/backend1/Client
python server_endpoints.py

The frontend stores connection state such as endpointVectorHub, endpoint, apiKey, collectionINFO and ws-id in sessionStorage.