Setting up for development
Prerequisite
You'll require following software installed in your PC:
Prepare
Open your terminal & run following commands:
mkdir plugNmeet
cd plugNmeet
# clone server
git clone https://github.com/mynaparrot/plugNmeet-server server
# clone client
git clone https://github.com/mynaparrot/plugNmeet-client client
# clone recorder
git clone https://github.com/mynaparrot/plugNmeet-recorder recorder
Server
To start server run following command:
# for first time
cd server
cp config_sample.yaml config.yaml
cp livekit_sample.yaml livekit.yaml
cp ingress_sample.yaml ingress.yaml
cp nats_server_sample.conf nats_server.conf
cp docker-compose_sample.yaml docker-compose.yaml
# to start server
docker-compose up --build
# after every time
docker-compose up
Client
Open another tab from your terminal & run:
# navigate to client directory that you created above
cd client
cp src/assets/config_sample.js src/assets/config.js
pnpm install
# start client
pnpm start
When the npm will complete to start up, you will be able to access client from: http://localhost:3000/login.html
Recorder
Open another tab from your terminal & run:
# navigate to recorder directory that you created above
cd recorder
cp config_sample.yaml config.yaml
pnpm install
# start recorder
pnpm run dev
Now the recorder should be ready for getting signal from plugNmeet-server
.
Troubleshooting
- I can't enter to the server showing response error
Open
docker-compose.yaml
file. Underlivekit
section:
--config "/app/livekit.yaml" --dev
add your device's IP address:
--config "/app/livekit.yaml" --dev --node-ip YOUR_IP_HERE
Now start the server again.