Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.18 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.18 KB

Welcome to ClassroomIO Live Class

ClassroomIO Live Class is a demo application built using Cloudflare Calls. To build your own WebRTC application using Cloudflare Calls, get started in the Cloudflare Dashboard.

Try the demo here!

A screenshot showing a room in ClassroomIO Live Class

Variables

Go to the Cloudflare Calls dashboard and create an application.

Put these variables into .dev.vars

CALLS_APP_ID=<APP_ID_GOES_HERE>
CALLS_APP_SECRET=<SECRET_GOES_HERE>

Development

npm run dev

Open up http://127.0.0.1:8787 and you should be ready to go!

Deployment

  1. Make sure you've installed wrangler and are logged in by running:
wrangler login
  1. Update the account_id and CALLS_APP_ID in wrangler.toml to use your own Cloudflare Account ID and Calls App ID

  2. You will also need to set the token as a secret by running:

wrangler secret put CALLS_APP_SECRET
  1. Then you can run
npm run deploy