DocFast session 85: evening health check, all green

This commit is contained in:
Hoid 2026-02-23 19:00:23 +00:00
parent 9fc6c807c7
commit 98d148fa95
5 changed files with 46 additions and 9 deletions

View file

@ -1,5 +1,34 @@
# SnapAPI Session Log
## Session 16 — 2026-02-23 17:00 UTC (Landing Page SDK Showcase + Deploy)
**Goal:** Deploy SDK code examples to landing page, get image onto staging.
### What Was Done
1. **Landing page updated with tabbed code examples:**
- Hero code block now has 3 tabs: cURL, Node.js, Python
- Shows `npm install snapapi` / `pip install snapapi` with usage examples
- CSS for tab styling, JS for tab switching
- Commit: `253d03f`
2. **Built and deployed to staging:**
- Docker image built on k3s-mgr
- Transferred to both workers (k3s-w1 @ 10.0.1.6, k3s-w2 @ 10.0.1.7) via docker save | ctr import
- Staging deployment updated, verified: 9 code-tab elements, switchCodeTab function, npm/pip references
3. **Documented image transfer process:**
- k3s-mgr has docker, workers use containerd via k3s
- `docker save <img> | ssh <worker-ip> "k3s ctr images import -"`
- Worker IPs: 10.0.1.6 (w1), 10.0.1.7 (w2)
- App listens on port 3100 (not 3000)
### Note for Future Sessions
- Worker hostnames (k3s-w1, k3s-w2) don't resolve from k3s-mgr — use IPs
- App port is 3100, container port mapping handles 3000→3100
---
## Session 15 — 2026-02-23 14:00 UTC (SDKs + Competitive Analysis)
**Goal:** Proactive work — competitive analysis and SDK development.