Skip to content

AgoraIO-Community/flexible-classroom-desktop

Repository files navigation

其他语言版本:简体中文

Flexible Classroom Electron App

Fetch submodule code and install dependencies

yarn install:packages

Run

yarn dev:classroom and yarn dev:scene run the debug page with the SDK linked to local source code and support hot module replacement (HMR), so changes take effect immediately.

yarn dev runs the demo app with the compiled SDK package and does not support HMR.

Launch the demo app

yarn dev

Launch a single SDK debug page

Configure the .env file before launching debug page:

# If .env contains `REACT_APP_AGORA_APP_ID` and `REACT_APP_AGORA_APP_CERTIFICATE` configurations, the client will automatically generate an RTM Token for you
REACT_APP_AGORA_APP_ID=
REACT_APP_AGORA_APP_CERTIFICATE=

Launch Fcr Classroom debug page:

yarn dev:classroom

Launch CloudClass debug page:

yarn dev:scene

Pack the Electron client

# Build Web Resources
yarn ci:build
# Build a Windows client(Run `yarn ci:build` to build Web resources before pack electron)
yarn pack:electron:win
# Build a Mac client(Run `yarn ci:build` to build Web resources before pack electron)
yarn pack:electron:mac

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors