simbiot-harness/sites/shkor-com/README.md
2026-10-17 13:47:37 +00:00

16 lines
1.5 KiB
Markdown

# shkor.com — Shkor Labs site
Static page (`index.html`, `styles.css`, `assets/`) + backend `api.py` (stdlib, SQLite): email capture and lab applications with KYC/KYB.
- Preview: https://new.shkor.com (noindex) — docroot `/var/www/shkor-com`, Caddy `/etc/caddy/sites/new-shkor.caddy`
- Video `assets/simbiot-harness-enterprise-en.mp4` is copied from `out/` at deploy (not committed here)
- Backend: `systemd shkor-api` (/opt/shkor-subscribe/api.py) on 127.0.0.1:8097, Caddy proxies `/api/*`; DB `/var/lib/shkor-subscribe/subs.db`
- Lab applications: `v2/apply/` (3-step form) → `/api/lab/apply` → portal pipeline `/api/studio/apply` (apply42.db, ref=shkor, TG to admin)
+ Didit KYC session (Free KYC workflow, key from /root/coop/.env) and KYB session if a company is given.
Status page `v2/apply/status/?t=<token>` refreshes from Didit; poller every 10 min; TG once on Approved/Declined.
KYB is OFF until `DIDIT_KYB_WORKFLOW_ID` is set in the unit (create the workflow in Didit console + top up balance).
After publishing v2 at the root, set `PUBLIC_BASE=https://shkor.com` (Didit callback).
export: `sqlite3 /var/lib/shkor-subscribe/subs.db "select email,source,created_at from subs"`
- v2 (labs + autopilot concept): `v2/` → https://new.shkor.com/v2/ ; design direction from ui-ux-pro-max (Dark OLED + Bento + HUD, Space Grotesk)
- Update: `cp -r index.html styles.css assets /var/www/shkor-com/` (v2: `cp -r v2/* /var/www/shkor-com/v2/`)
- Apex shkor.com still points at 204.168.138.138 (old site) — switch A record after review.