a predeployed worker is available at https://n2.villainsrule.xyz!
- install bun
- copy
.env.exampleto.env - fill out ACCOUNT_EMAIL and ACCOUNT_PASSWORD with an email/passowrd to an edpuzzle teacher account
bun installbun narwhal/narwhal.ts
- install bun
bun installbunx wrangler login- login to cloudflare
cp wrangler.example.jsonc wrangler.jsoncbunx wrangler kv namespace create narwhal- add the output ID from the above command to
wrangler.jsonc - add an edpuzzle teacher account username/password to the top of
workers/narwhal.ts bunx wrangler deploy- you can add custom domains from the cloudflare dashboard
- make sure to add any custom domains to wrangler.jsonc as documented here