diff options
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -59,6 +59,15 @@ Thanks to [webtorrent](https://github.com/feross/webtorrent), we can make P2P (t | |||
59 | * MongoDB | 59 | * MongoDB |
60 | * xvfb-run libgtk2.0-0 libgconf-2-4 libnss3 libasound2 libxtst6 libxss1 (for electron) | 60 | * xvfb-run libgtk2.0-0 libgconf-2-4 libnss3 libasound2 libxtst6 libxss1 (for electron) |
61 | 61 | ||
62 | #### Debian | ||
63 | |||
64 | Install NodeJS 4.2: [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions) | ||
65 | |||
66 | # apt-get install mongodb openssl xvfb curl sudo git build-essential libgtk2.0-0 libgconf-2-4 libnss3 libasound2 libxtst6 libxss1 | ||
67 | # npm install -g grunt-cli | ||
68 | # npm install -g electron-prebuilt | ||
69 | |||
70 | |||
62 | ### Test It! | 71 | ### Test It! |
63 | 72 | ||
64 | $ git clone https://github.com/Chocobozzz/PeerTube | 73 | $ git clone https://github.com/Chocobozzz/PeerTube |
@@ -72,7 +81,7 @@ Thanks to [webtorrent](https://github.com/feross/webtorrent), we can make P2P (t | |||
72 | $ scripts/clean_test.sh | 81 | $ scripts/clean_test.sh |
73 | $ scripts/run_servers.sh | 82 | $ scripts/run_servers.sh |
74 | 83 | ||
75 | Then you will can access to the three nodes at http://localhost:900{1,2,3}. If you call "make friends" on http://localhost:9002, the pod 2 and 3 will become friends. Then if you call "make friends" on http://localhost:9001 it will become friend with the pod 2 and 3 (check the configuration files). Then the pod will communicate with each others. If you add a video on the pod 3 you'll can see it on the pod 1 and 2 :) | 84 | Then you will can access to the three nodes at `http://localhost:900{1,2,3}`. If you call "make friends" on `http://localhost:9002`, the pod 2 and 3 will become friends. Then if you call "make friends" on `http://localhost:9001` it will become friend with the pod 2 and 3 (check the configuration files). Then the pod will communicate with each others. If you add a video on the pod 3 you'll can see it on the pod 1 and 2 :) |
76 | 85 | ||
77 | ### Dockerfile | 86 | ### Dockerfile |
78 | 87 | ||