2
0

Nav apraksta

yourname fc34c197ae 📝 docs(architecture): add system architecture documentation 7 mēneši atpakaļ
.bmad-core 094dac4747 bmad 7 mēneši atpakaļ
.claude 094dac4747 bmad 7 mēneši atpakaļ
docs fc34c197ae 📝 docs(architecture): add system architecture documentation 7 mēneši atpakaļ
public c2e9a5977b init 7 mēneši atpakaļ
src c2e9a5977b init 7 mēneši atpakaļ
.eslintignore c2e9a5977b init 7 mēneši atpakaļ
.eslintrc c2e9a5977b init 7 mēneši atpakaļ
.gitignore c2e9a5977b init 7 mēneši atpakaļ
.prettierrc c2e9a5977b init 7 mēneši atpakaļ
CLAUDE.md 3a6d536ed3 📝 docs(env): 添加开发环境说明文档 7 mēneši atpakaļ
README.md c2e9a5977b init 7 mēneši atpakaļ
index.html c2e9a5977b init 7 mēneši atpakaļ
package.json c2e9a5977b init 7 mēneši atpakaļ
tsconfig.json c2e9a5977b init 7 mēneši atpakaļ
tsconfig.node.json c2e9a5977b init 7 mēneši atpakaļ
vite.config.ts 4ae238d1f9 🔧 chore(vite): configure dev server settings 7 mēneši atpakaļ

README.md

Agora RTT Web Demo

Prepare

  • node version 18+ , 20+

Config

See Get Started with Agora to learn how to get an App ID and App Certificate. (Certificate must be turned on)

Activate RTM permissions in the console

Contact technical support to activate RTT permissions

Find .env file and fill in the following parameters correctly

VITE_AGORA_APP_ID=<YOUR_APP_ID>
VITE_AGORA_APP_CERTIFICATE=<YOUR_APP_CERTIFICATE>

Install

In the project root path run the following command to install dependencies.

npm install 

Dev

Use the following command to run the sample project.

npm run dev

Build

Use the following command to build the sample project.

npm run build