Add README files to openvidu-basic-X applications
This commit is contained in:
parent
b2c8ea7672
commit
8ebb6cc22e
16
openvidu-basic-java/README.md
Normal file
16
openvidu-basic-java/README.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# openvidu-basic-java
|
||||||
|
|
||||||
|
This is a minimal OpenVidu server application sample built for Java with Spring Boot. Visit [Application server](https://docs.openvidu.io/en/stable/application-server/) documentation for further context.
|
||||||
|
|
||||||
|
It internally uses [openvidu-java-client SDK](https://docs.openvidu.io/en/stable/reference-docs/openvidu-java-client/).
|
||||||
|
|
||||||
|
Prerequisites:
|
||||||
|
|
||||||
|
- [Java (>=11)](https://www.java.com/en/download/manual.jsp)
|
||||||
|
- [Maven](https://maven.apache.org)
|
||||||
|
|
||||||
|
To run the application:
|
||||||
|
|
||||||
|
```
|
||||||
|
mvn spring-boot:run
|
||||||
|
```
|
||||||
@ -19,7 +19,9 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>11</java.version>
|
||||||
|
<maven.compiler.target>11</maven.compiler.target>
|
||||||
|
<maven.compiler.source>11</maven.compiler.source>
|
||||||
<start-class>io.openvidu.basic.java.App</start-class>
|
<start-class>io.openvidu.basic.java.App</start-class>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
2
openvidu-basic-node/.env
Normal file
2
openvidu-basic-node/.env
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
OPENVIDU_URL=https://localhost:4443/
|
||||||
|
OPENVIDU_SECRET=MY_SECRET
|
||||||
1
openvidu-basic-node/.gitignore
vendored
1
openvidu-basic-node/.gitignore
vendored
@ -73,7 +73,6 @@ web_modules/
|
|||||||
.yarn-integrity
|
.yarn-integrity
|
||||||
|
|
||||||
# dotenv environment variable files
|
# dotenv environment variable files
|
||||||
.env
|
|
||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
.env.production.local
|
.env.production.local
|
||||||
|
|||||||
21
openvidu-basic-node/README.md
Normal file
21
openvidu-basic-node/README.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# openvidu-basic-node
|
||||||
|
|
||||||
|
This is a minimal OpenVidu server application sample built for Node with Express. Visit [Application server](https://docs.openvidu.io/en/stable/application-server/) documentation for further context.
|
||||||
|
|
||||||
|
It internally uses [openvidu-node-client SDK](https://docs.openvidu.io/en/stable/reference-docs/openvidu-node-client/).
|
||||||
|
|
||||||
|
Prerequisites:
|
||||||
|
|
||||||
|
- [Node](https://nodejs.org/es/download/)
|
||||||
|
|
||||||
|
Install dependencies:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the application:
|
||||||
|
|
||||||
|
```
|
||||||
|
node index.js
|
||||||
|
```
|
||||||
@ -1,6 +1,12 @@
|
|||||||
# openvidu-basic-python
|
# openvidu-basic-python
|
||||||
|
|
||||||
Create a python3 environment and activate it
|
This is a minimal OpenVidu server application sample built for Python with [Flask](https://flask.palletsprojects.com/). Visit [Application server](https://docs.openvidu.io/en/stable/application-server/) documentation for further context.
|
||||||
|
|
||||||
|
Prerequisites:
|
||||||
|
|
||||||
|
- [Python 3](https://www.python.org/downloads/)
|
||||||
|
|
||||||
|
Create a python3 environment and activate it:
|
||||||
|
|
||||||
```
|
```
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
@ -10,13 +16,13 @@ python3 -m venv venv
|
|||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
Install dependencies
|
Install dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the application
|
Run the application:
|
||||||
|
|
||||||
```
|
```
|
||||||
python3 app.py
|
python3 app.py
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user