Portal v2 is static HTML/JS/CSS, but it needs an HTTP server (browsers block fetch() for file://).
From the repo root:
cd /path/to/SDECB
python3 -m http.server 8000
Open:
http://localhost:8000/portal/v2/index.htmlPortal v2 reads from portal/v2/data/. To regenerate:
cd /path/to/SDECB
python3 scripts/ingest_podcast_kb.py --sdecb-root .
python3 scripts/ingest_interviews_kb.py --sdecb-root .
python3 scripts/ingest_website_content.py --sdecb-root .
python3 scripts/build_unified_kb_index.py --sdecb-root . --portal-data-dir portal/v2/data
knowledge_base/_sources/website/—## Assistant-enabled local server (recommended for Phase 2)
If you want Portal v2 and the Assistant API endpoint (/api/chat), run:
SDECB_ASSISTANT_PORT=8010 python3 scripts/assistant_server.py
Then open:- http://127.0.0.1:8010/portal/v2/index.html
http://127.0.0.1:8010/portal/v2/assistant.html