Web platform only:Update the "Integrate Flexible Classroom" section step 2 as follows:
To change directory to CloudClass-Desktop and switch the branch, run the following commands. Remember to replace {VERSION} with a specified version number:
cd CloudClass-Desktopgit checkout release/{VERSION}`
For example, if you want to switch to the branch of v2.6.2, just run the following command:
git checkout release/2.6.2
Agora recommends switching the branch of the latest release. The following image shows how to see the latest release branch in the GitHub repository:
Web and Electron platforms:Update the "Integrate Flexible Classroom" section step 4 by adding two sub-steps after step i:
ii: Move the .env.example file in your project's root directory to packages/agora-classroom-sdk and rename the file as .env. So the file path is mv .env.example packages/agora-classroom-sdk/.env.
iii: Fill in your App ID and App Certificate in the following code in .env:
Please help make updates as follows, thanks!
Web platform only:Update the "Integrate Flexible Classroom" section step 2 as follows:
To change directory to
CloudClass-Desktop
and switch the branch, run the following commands. Remember to replace {VERSION} with a specified version number:cd CloudClass-Desktop
git checkout release/
{VERSION}`For example, if you want to switch to the branch of v2.6.2, just run the following command:
Agora recommends switching the branch of the latest release. The following image shows how to see the latest release branch in the GitHub repository:
Web and Electron platforms:Update the "Integrate Flexible Classroom" section step 4 by adding two sub-steps after step i:
ii: Move the
.env.example
file in your project's root directory topackages/agora-classroom-sdk
and rename the file as.env
. So the file path ismv .env.example packages/agora-classroom-sdk/.env
.iii: Fill in your App ID and App Certificate in the following code in
.env
:Web and Electron platforms:Update the sample code in the Use the default UI of Flexible Classroom section with following:
<!DOCTYPE html>