Skip to content

Repository files navigation

Horus Next

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Node version: v20.10.0

Development

BE (Agora token server)

Go to docker-server folder

cd docker-server

Copy .env.example to .env and fill the required values (AGORA_APP_ID, AGORA_APP_CERTIFICATE)

cp .env.example .env

FE (Horus Next App)

Copy .env.example to .env and fill the required values (APP_PORT, SERVER_PORT, VITE_TOKEN_ENDPOINT)

cp .env.example .env

Install package

npm install

Build docker containers (BE, FE) and run it

docker compose build
docker compose up -d

Run the development server:

npm run dev

Open http://localhost:5173/room/test1 with your browser to see the result.

Deploy

BE (Agora token server)

Go to docker-server folder

cd docker-server

Copy .env.example to .env and fill the required values (AGORA_APP_ID, AGORA_APP_CERTIFICATE)

cp .env.example .env

FE (Horus Next App)

Copy .env.example to .env and fill the required values (APP_PORT, SERVER_PORT)

cp .env.example .env

Build docker containers (BE, FE) and run it

docker compose build
docker compose up -d

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages