Skip to content

Commit

Permalink
'openvidu.security' property removed
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloFuente committed Aug 31, 2017
1 parent 74643c9 commit 9f3b701
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 39 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ We have implemented a very basic demo application to see OpenVidu in action. To
- Run this Docker container

```
docker run -p 5000:5000 -p 4040:4040 -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 -e openvidu.security=false openvidu/openvidu-plainjs-demo
docker run -p 5000:5000 -p 4040:4040 -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 openvidu/openvidu-plainjs-demo
```

- Wait until you see a public URL ended with `.ngrok.io`. You can connect locally in [`localhost:5000`](http://localhost:5000) or by using the ngrok public URL. You can also share this URL with anyone you want to test the app over the Internet!
Expand All @@ -51,7 +51,7 @@ Building a simple app with OpenVidu
OpenVidu has a traditional **Client - Server** architecture built on three modules that are shown in the image above. To run **openvidu-server** and **Kurento Media Server** you can execute the following container:

```
docker run -p 8443:8443 --rm -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 -e openvidu.security=false openvidu/openvidu-server-kms
docker run -p 8443:8443 --rm -e KMS_STUN_IP=193.147.51.12 -e KMS_STUN_PORT=3478 openvidu/openvidu-server-kms
```


Expand Down Expand Up @@ -486,7 +486,7 @@ Here you have a step by step guide to deploy a production version of OpenVidu in
7. Init openvidu-server Docker container (securization enabled)

```
sudo docker run -d -p 8443:8443 -e openvidu.security=true -e openvidu.secret=YOUR_SECRET -e kms.uris=[\"ws://YOUR_MACHINE'S_INTERNAL_IP:8888/kurento\"] openvidu/openvidu-server
sudo docker run -d -p 8443:8443 -e openvidu.secret=YOUR_SECRET -e kms.uris=[\"ws://YOUR_MACHINE'S_INTERNAL_IP:8888/kurento\"] openvidu/openvidu-server
```


Expand Down
18 changes: 0 additions & 18 deletions ngrok-deploy-plainjs.sh

This file was deleted.

3 changes: 0 additions & 3 deletions openvidu-java-client/create-jar-package.sh

This file was deleted.

5 changes: 5 additions & 0 deletions openvidu-server/src/angular/BuildFrontJar.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
cd frontend
ng build --output-path ../../main/resources/static
cd ../../../
mvn -DskipTests=true clean compile package
4 changes: 2 additions & 2 deletions openvidu-server/src/angular/BuildFrontJarAndRun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
cd frontend
ng build --output-path ../../main/resources/static
cd ../../../
mvn -DskipTests=true clean package
mvn -Dopenvidu.security=$1 exec:java
mvn -DskipTests=true clean compile package
mvn exec:java
1 change: 0 additions & 1 deletion openvidu-testapp/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ server.ssl.keyAlias: kurento-selfsigned
kms.uris=[\"ws://localhost:8888/kurento\"]

openvidu.secret: MY_SECRET
openvidu.security: false
openvidu.publicurl: local
7 changes: 1 addition & 6 deletions update-plainjs-prod.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
cd openvidu-browser/src/main/resources

npm run updatetsc
VERSION="$1" npm run browserify-prod

cd ../../../../
VERSION="$1"

# openvidu-insecure-js
cp openvidu-browser/src/main/resources/static/js/openvidu-browser-"$1".min.js ../openvidu-tutorials/openvidu-insecure-js/web/openvidu-browser-"$1".min.js
Expand Down
7 changes: 1 addition & 6 deletions update-plainjs.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
cd openvidu-browser/src/main/resources

npm run updatetsc
VERSION="$1" npm run browserify

cd ../../../../
VERSION="$1"

# openvidu-insecure-js
cp openvidu-browser/src/main/resources/static/js/openvidu-browser-"$1".js ../openvidu-tutorials/openvidu-insecure-js/web/openvidu-browser-"$1".js
Expand Down

0 comments on commit 9f3b701

Please sign in to comment.