Skip to content

Latest commit

 

History

History
88 lines (59 loc) · 2.34 KB

README.md

File metadata and controls

88 lines (59 loc) · 2.34 KB

openvidu-call-vue

This project changes the original Angular fronted to a Vue one imitating the original and some of their basic features.

Installation

Use git to install the project in your choosed folder:

git clone https://github.com/codeurjc-students/openvidu-call-vue.git

Run instructions

  1. Run OpenVidu deployment:
docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-dev:2.27.0

Another option would be not to use the Docker image and connect the backend to the OpenVidu deployment from demos. To do that it is necessary to change the next param:

OPENVIDU_URL: ${OPENVIDU_URL:http://localhost:4443} 

from /openvidu-call-vue/openvidu-call-back-java/src/main/resources/application.properties to:

OPENVIDU_URL: https://demos.openvidu.io
  1. Initiate java backend using maven:
cd openvidu-call-vue/openvidu-call-back-java
mvn install
mvn spring-boot:run
  1. Run the client application using NPM:
cd openvidu-call-vue/openvidu-call-vuetify-frontend
npm install
npm run dev
  1. Start using your aplication in the page http://127.0.0.1:3000/.

  2. Use the next user and password to dive into the rest of the application:

    User: admin

    Password: MY_SECRET

Run Docker

To run the web application only using Docker follow the next steps:

  1. Create Docker image:
cd openvidu-call-vue/docker
docker build -f Dockerfile -t openvidu-vue ../

The name "openvidu-vue" can be substitute to another one, but it would be neccessary to change the docker-compose file from the next step, so it is not recommended to change the name of the image.

  1. Run docker compose:
docker-compose up
  1. Start using your aplication in the page http://localhost:5000/. If it does not work it is recommended to access to the same port via Docker Desktop if you are in Windows.

  2. Use the next user and password to dive into the rest of the application:

    User: admin

    Password: MY_SECRET

Dependencies