/backend for backend server code /frontend for react frontend code
- Clone the project: (checkout to develop branch for development code)
$ git clone https://github.com/waleedj99/edHub_WebRTC.git
$ cd V-WebRTC
$ git checkout develop
- Set up the edhub-WebRTC server:
$ cd backend
$ npm install
- Customize
config.js
for your scenario:
$ nano config.js
NOTE: To be perfectly clear, "customize it for your scenario" is not something "optional". If you don't set proper values in config.js
the application won't work.
- Set up the edhub-WebRTC browser app:
$ cd frontend
$ npm install
- Run the Node.js server application in a terminal: (use DEBUG=vmeet* for debugging)
$ cd backend
$ npm start
- In a different terminal build and run the browser application:
$ cd frontend
$ npm start
- Enjoy.