PyTeach Live — deploy bundle (195 files, 36.6 MB)

RUN IT (needs Python 3.10+):
  python3 -m venv .venv
  .venv/bin/pip install -r requirements.txt
  .venv/bin/python app.py
  Teacher: http://localhost:5000/teacher-login  (pick a PIN, Create room)
  Students: http://YOUR-LAN-IP:5000/join  (room code + name)

Fully offline: editor + Python runtime are vendored, no internet
needed on the classroom Wi-Fi.

USEFUL ENV VARS:
  SECRET_KEY=long-random-string  (required on hosting, i.e. when PORT is set)
  FLASK_DEBUG=0                 (off in production)
  USE_CDN=1                     (serve big JS/Python files from CDN — saves
                                 hosting egress; needs internet)
  SOCKET_CORS_ORIGINS=https://a.test,https://b.test  (optional extra
                                 socket origins; default same-origin only)
  PORT=5000                     (port to listen on)

NOTES:
  - Rooms live in server memory only; restarting the server wipes them.
  - Built 2026-11-16 from PyTeach Live.
  - Full docs are in README.md inside this zip.
