Skip to content

Deployment

The presenter and student pages are plain HTML files — no build step. You just need students to be able to open student.html in their phone browser.


Free, easy, and gives you a clean URL.

  1. Push the repo to GitHub (make sure config.js is included — you may need to remove it from .gitignore or use a private repo)
  2. Go to Settings > Pages in your repo
  3. Set the source branch and click Save
  4. Your student URL will be: https://YOUR_USERNAME.github.io/supabase-live-quiz/student.html

config.js is gitignored by default

Since config.js contains your Supabase credentials, it's excluded from git. For GitHub Pages, you'll need to either:

  • Remove config.js from .gitignore (fine for private repos)
  • Or use Netlify/Vercel environment-based injection instead

Option 2: Netlify (drag and drop)

  1. Go to app.netlify.com
  2. Drag the entire supabase-live-quiz folder (including config.js) onto the deploy area
  3. Done — Netlify gives you a URL instantly

Option 3: Local network (no hosting needed)

Good for classrooms where everyone is on the same Wi-Fi.

cd supabase-live-quiz
python -m http.server 8000

Find your local IP (ifconfig | grep inet on Mac), then share: http://YOUR_IP:8000/student.html


Option 4: Open files directly

The simplest option: just double-click presenter.html to open it. This works for the presenter, but students need a URL they can reach — so you'll need one of the above for student.html.