Spaces:
Sleeping
Sleeping
|
Download deploy/README.md from REBELLION2002/traffix-live: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/deploy/README.md
- Command line
-
hf download hf://spaces/REBELLION2002/traffix-live/deploy/README.md
-
curl -L -o README.md https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/deploy/README.md
1.12 kB
| # Later read-only deploy | |
| This folder is the **product CD shape** from [ADR-0003](../README.md#10-architecture-decisions). It is not the native Windows smoke test. | |
| Images: | |
| 1. `api` — FastAPI reads `EVIDENCE_ROOT`. It does not launch a simulator and does not actuate signals. | |
| 2. `ui` — React build served by nginx. Proxies `/api/` to the API. | |
| Neither image installs a traffic simulator. Rollback is the previous git tag plus the previous tagged evidence directory. | |
| ```powershell | |
| cd deploy | |
| docker compose up --build | |
| ``` | |
| Open `http://localhost:8080`. Health: `http://localhost:8000/health`. | |
| For an offline evidence-only walkthrough without Docker, run from the | |
| repository root: | |
| ```powershell | |
| cd C:\Users\dell\Downloads\sumo | |
| py -3.11 scripts\offline_walkthrough.py | |
| ``` | |
| Replace `deploy/evidence/demo-readonly-0001/` with a real bundle (`run_id`, `scenario_hash`, Parquet/KPI files) after rows 02 and 09 gate. The demo fixture is labelled `status: fixture` on purpose. | |
| Do not use this compose as the row 01 command. Native smoke remains `py -3.11 scripts\run_native_smoke.py` on Windows. | |