updates frontend and backend

This commit is contained in:
sriram
2026-08-11 19:11:32 +05:30
parent 77d8536941
commit dbfe347bab
11 changed files with 21 additions and 337 deletions

View File

@@ -12,6 +12,16 @@ documentation (`docs/`). This file is just a fast local reference.
## Quick start
### One-click (Windows)
Double-click **`start_backend.bat`**. It picks up `venv\Scripts\python.exe`
if present (else falls back to system `python`), starts/creates the
`catalog_rag_postgres` Docker container from `docker-compose.yml`,
launches Ollama in the background if it's installed but not running,
seeds sample data if needed, then starts uvicorn on port 8000.
### Manual
```bash
cd backend
python3 -m venv .venv
@@ -23,7 +33,7 @@ cp .env.example .env # then edit DB_PASSWORD etc.
# Option A: already have a Postgres+pgvector catalog from the old project?
# Just point .env at it (DB_HOST/DB_PORT/DB_NAME/DB_USER/DB_PASSWORD) - done.
# Option B: starting fresh locally?
docker compose -f ../docker-compose.yml up -d
docker compose -f docker-compose.yml up -d
python scripts/seed_sample_data.py # loads bundled sample catalogs instantly
uvicorn app.main:app --reload --port 8000