06. Infra & Local Ops¶
Local¶
HTTP server required for ES module imports.
Deploy¶
| Target | How |
|---|---|
| Hugging Face Space | Static SDK; copy five files to Space root (README) |
| GitHub Pages | .github/workflows/deploy.yml stages public/ + .nojekyll |
No Docker, env files, or npm build.
Topology¶
graph TD
classDef default fill:#1e293b,stroke:#38bdf8,stroke-width:2px,color:#f8fafc
classDef highlight fill:#065f46,stroke:#34d399,stroke-width:2px,color:#f0fdf4
Browser["Browser demo"]:::highlight
CDN["jsDelivr ORT + Transformers"]
HF["HF model repos"]
Pages["GitHub Pages / HF Space"]
Pages --> Browser
Browser --> CDN
Browser --> HF
linkStyle default stroke:#64748b,stroke-width:2px