cloudflare / orange
- понедельник, 8 апреля 2024 г. в 00:00:02
Orange Meets is a demo application built using Cloudflare Calls. To build your own WebRTC application using Cloudflare Calls, get started in the Cloudflare Dashboard.
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>
npm run devOpen up http://127.0.0.1:8787 and you should be ready to go!
wrangler and are logged in by running:wrangler loginUpdate the account_id and CALLS_APP_ID in wrangler.toml to use your own Cloudflare Account ID and Calls App ID
You will also need to set the token as a secret by running:
wrangler secret put CALLS_APP_SECRETnpm run deploy