Installation
The repository contains more than one VectorHub-related project. The public portal is in apps/portal. The main backend is in repos/VectorHub-dev/backend1/Client.
Portal
Section titled “Portal”Requirements:
- Node.js and npm
Commands:
cd apps/portalnpm installnpm run devThe portal is an Astro app with React components. Documentation is served by Starlight in the same app.
Backend
Section titled “Backend”Requirements:
- Python 3.11+
- Docker and Docker Compose
Commands from repos/VectorHub-dev:
docker compose -f backend1/Client/docker-compose.yml up edgedb qdrantcd backend1/Clientpython -m venv .venvsource .venv/bin/activatepip install -r requirements.txtpython server_endpoints.pyThe backend listens on port 8081 by default.
Environment
Section titled “Environment”Confirmed environment variables include:
PORTTYPE_ENVFRONTEND_APP_ORIGINSECRET_KEY_ADMINJWT_ACCESS_SECRETJWT_REFRESH_SECRETJWT_WS_SECRETQDRANT_HOSTQDRANT_PORTEDGEDB_HOSTEDGEDB_PORTEDGEDB_USEREDGEDB_PASSWORDEMBEDDING_ENDPOINT
Do not commit real secrets. The repository includes example/test files, but production values must be supplied by the deployment environment.