Skip to content

Installation Virtual Conference

Jelle edited this page Jan 2, 2021 · 6 revisions

Installation

Step 1: Install NodeJs & NPM & Yarn using terminal

  • sudo apt install nodejs
  • sudo apt install npm
  • npm install -g yarn

Step 2: Clone Virtual Conference repository using terminal

Step 3: Change to the right directories using two terminals and install all dependencies

Terminal 1:

  • cd VirtualConference/frontend/
  • yarn install

Terminal 2:

  • cd VirtualConference/backend/
  • yarn install

Step 4: Run application in production mode

Terminal 1:

  • yarn build
  • yarn start

Terminal 2:

  • yarn build
  • yarn start

Note: Run application in developer mode

Terminal 1:

  • yarn run dev

Terminal 2:

  • yarn run dev

Ports

There is a file named .env in the backend directory, in this file you can change the API port and the socket port.

For this application to work outside a local network, the ports for the sockets, backend and frontend application need to be forwarded in the router. The frontend runs on the port 5000 by default. The other ports can be adjusted in the .env file.

Clone this wiki locally