This is the frontend for the Knowledge Packs Assistant application. It provides a user interface for interacting with the assistant and managing knowledge packs.
- Docker
- Docker Compose
-
Create an environment file:
Create a
.envfile in the root of this directory by copying the example file:cp .env.example .env
-
Configure the API URL:
Open the
.envfile and set theVITE_API_URLto the address of your backend API. If you are running the backend locally with the default Traefik setup, the URL will behttp://kp-rag-api.localhost:8888.VITE_API_URL=https://wbg-kp-api.quanti.ca
To build and run the application, use Docker Compose:
docker-compose up -d --buildThe web interface will be available through the Traefik proxy, which should be running separately. The service is configured to be accessible at kp-web.localhost by default.
The application will be served by NGINX and will be available at http://wbgkp.quanti.ca.
The React application expects the API to be available at the URL defined in the VITE_API_URL environment variable.
To stop the service, run:
docker-compose down