Loading page
The steps below follow DEPLOYMENT.md in the repository. Read that file for the full variable list and the access tiers before you deploy.
git clone https://github.com/<your-account>/<your-fork>.git cd <your-fork> pnpm install
# .env.local (local development) DATABASE_URL=postgres://... STUDENT_ACCESS_CODE=choose-a-long-random-code PROFESSOR_ACCESS_CODE=choose-a-different-long-random-code # admin pages (/admin/*, including /admin/health) need this code ADMIN_ACCESS_CODE=choose-a-third-long-random-code # signs every session cookie: 16+ random characters, never shared ACCESS_SESSION_SECRET=choose-a-long-random-secret NEXT_PUBLIC_APP_URL=http://localhost:3000 # Optional default model access OPENAI_API_KEY=
for f in db/migrations/*.sql; do psql "$DATABASE_URL" -f "$f"; done
pnpm dev # then open http://localhost:3000 # or, with no database or model keys at all: pnpm demo
# Vercel npx vercel link npx vercel deploy
Once the app runs, the chat and the learning pages are the quickest way to check it end to end.