/Online-Meeting-and-Collaborative-Whiteboard

An online meeting and collaborative whiteboard platform

Primary LanguageJavaScript

RTConfer : Online Rich-Media Collaborative Platform

Bring Teams Together, anywhere.

1. If you are a client who want to deploy our service or test:

Please follow the steps to deploy our web service as quickly as possible!

  • git clone this repo to your computer, turn on your Windows shell or Unix Terminal command line tools.

  • cd richmedia-project/client to enter the directory of our web demo project

  • npm install to install all the dependencies that front-end needs, this might need to wait for a few seconds.

  • npm run start to start the React.js serve.

  • Enter http://localhost:3000/welcome in your Chrome browser's URL bar.

  • Simply wait for a few seconds, and enjoy your usage of our RTConfer platform!

2.If you are a engineer who wanna further development:

Prerequisites:

Have Docker Installed in your System, and also a clear mind to follow these steps.

In Development Mode :

First copy the content of docker-compose-dev.yml to docker-compose.yml

and also copy the content of server/src/index.dev.js to server/src/index.js

Run the app using :

$ docker-compose up --build --remove-orphans

or

$ docker-compose up -d

Above command will start the services on (-d) detach mode (similar like running the app in background)

Then you can check the status of the containers by running:

$ docker ps

The App should be App :

visit client : http://localhost:3000

visit server : http://localhost:8080

To check the status of the running containers :

docker-compose ps

In Production Mode :

First copy the content of docker-compose-prod.yml to docker-compose.yml

and also copy the content of server/src/index.prod.js to server/src/index.js

Run the app using :

$ docker-compose up --build -remove-orphans

The App should be up at http://localhost:8080

Build the image for server :

docker build -t myapp-server:1 . docker images docker run --name "myapp-server" -p 80:8080 myapp-server:1 docker ps

MERN DOCKER diagram