How to publish the Qvantum internal web

Upload instructions for both sites — written for a non-engineer; no coding needed for the manual method.

You are holding qvantum-web-<date>.zip, built by qvantum-npi-dashboard/scripts/package_delivery.py.

What's in the zip

qvantum-web-<date>.zip
├── index.html                  ← a small "front door" linking the two areas (optional)
├── UPLOAD-INSTRUCTIONS.html    ← this page
├── ai/                         ← the "AI at Qvantum" site (tutorials, use cases, ambassadors)
└── dashboard/                  ← the NPI/CPI Dashboard (project + software-release cards)

The server web root should end up looking exactly like the inside of this zip: index.html at the top, with ai/ and dashboard/ next to it.

If the server root already has its own landing page, just don't upload index.html — upload only the ai/ and dashboard/ folders.

Method 1 — Manual upload recommended for one-off updates

  1. Unzip qvantum-web-<date>.zip on your computer.
  2. Open your file-transfer tool to the server (the same SFTP / file-manager you use for other web uploads — e.g. FileZilla, WinSCP, or the hosting control panel).
  3. Go to the web root folder on the server (the folder that serves the site).
  4. Upload, replacing existing files:
    • the ai/ folder → into the web root
    • the dashboard/ folder → into the web root
    • (optionally) index.html → into the web root
  5. Open the site in a browser and check:
    • …/ai/ shows the AI at Qvantum home
    • …/dashboard/npi_cpi.html shows the project + SW-release cards

That's it. Uploading again later just overwrites the old files.

Method 2 — Scripted deploy dashboard only · needs SSH

The dashboard has a helper that pushes site/ over SSH. From qvantum-npi-dashboard/:

# one time per terminal session: load your SSH key
ssh-add "$SSH_KEY_PATH"

# push the dashboard pages to staging
scripts/deploy_staging.sh quick

Server login + path come from qvantum-npi-dashboard/.env (never committed):

VariableMeaning
DEPLOY_USER / DEPLOY_IP server login + host (staging: ai.qvantum.local)
DEPLOY_PATHweb-root path on the server

This method covers the dashboard only. The AI site is hand-uploaded (Method 1).

Refreshing the content before you package

The two sites update differently:

Then rebuild the delivery zip:

cd qvantum-npi-dashboard
python scripts/package_delivery.py     # → dist/qvantum-web-<date>.zip
⚠️ Jira access note: /refresh-releases uses an API token in qvantum-npi-dashboard/.env. That token is tied to Jacob's account and stops working after 2026-06-26 — reissue it under a still-employed account before then, or the software-release cards will stop updating.