Skip to content

Commit fe55f78

Browse files
authored
Merge pull request #37 from virresh/cleanup
Update README
2 parents 0a54d10 + fe984e0 commit fe55f78

2 files changed

Lines changed: 37 additions & 19 deletions

File tree

README

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Sahaayak
2+
3+
Your learning partner
4+
5+
OpenVidu used for supporting video calls.
6+
Firebase is powering the backend.
7+
NodeJS code for push notifications is not in this repository currently.
8+
9+
#### Setting up OpenVidu
10+
Ensure you've generated your debug keys. If you're unsure on how to do that, `openvidus_extras/script.sh` has the steps commented.
11+
12+
Set-up docker
13+
```bash
14+
sudo apt-get install docker.io
15+
```
16+
17+
Navigate to the folder openvidu_extras. Run script.sh with
18+
```bash
19+
./script.sh
20+
```
21+
22+
This will setup a server on your machine.
23+
24+
#### Referring to OpenVidu server
25+
Best way is to setup a URL key-value entry in the root of your firebase database to allow dynamic changes in the IP. However, if you still want to do it with a static IP, here are the steps:
26+
27+
- In the strings.xml file, replace the IP Address with your machine's IP Address.
28+
For example,
29+
```xml
30+
<string name="default_openvidu_url">https://192.168.0.8:4443/</string>
31+
```
32+
- Make sure to replace the code for fetching URL dynamically inside the app for using the above resource string.
33+
34+
192.168.0.8 is your system's IP Address.
35+
36+
Build the app and run it.
37+

0 commit comments

Comments
 (0)