diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -66,10 +66,10 @@ Want to see in action? | |||
66 | 66 | ||
67 | ## Why | 67 | ## Why |
68 | 68 | ||
69 | We can't build a FOSS video streaming alternatives to YouTube, Dailymotion, Vimeo... with a centralized software. One organization alone cannot have enought money to pay bandwith and video storage of its server. | 69 | We can't build a FOSS video streaming alternatives to YouTube, Dailymotion, Vimeo... with a centralized software. One organization alone cannot have enough money to pay bandwidth and video storage of its server. |
70 | 70 | ||
71 | So we need to have a decentralized network (as [Diaspora](https://github.com/diaspora/diaspora) for example). | 71 | So we need to have a decentralized network (as [Diaspora](https://github.com/diaspora/diaspora) for example). |
72 | But it's not enought because one video could become famous and overload the server. | 72 | But it's not enough because one video could become famous and overload the server. |
73 | It's the reason why we need to use a P2P protocol to limit the server load. | 73 | It's the reason why we need to use a P2P protocol to limit the server load. |
74 | Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (thus bittorrent) inside the web browser right now. | 74 | Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (thus bittorrent) inside the web browser right now. |
75 | 75 | ||
@@ -194,9 +194,9 @@ The following commands will upgrade the source (according to your current branch | |||
194 | 194 | ||
195 | ### Development | 195 | ### Development |
196 | 196 | ||
197 | In this mode, the server will run requests between pods more quickly, the videos duration are limited to a few seconds. | 197 | In this mode, the server will run requests between pods more quickly, the video durations are limited to a few seconds. |
198 | 198 | ||
199 | To develop on the server side (server files are automatically compiled when we modify them and the server restarts automatically too): | 199 | To develop on the server-side (server files are automatically compiled when we modify them and the server restarts automatically too): |
200 | 200 | ||
201 | $ npm run dev:server | 201 | $ npm run dev:server |
202 | 202 | ||
@@ -217,7 +217,7 @@ The API will listen on `localhost:9000` and the frontend on `localhost:3000` (wi | |||
217 | $ npm run clean:server:test | 217 | $ npm run clean:server:test |
218 | $ npm run play | 218 | $ npm run play |
219 | 219 | ||
220 | Then you will can access to the three nodes at `http://localhost:900{1,2,3}` with the `root` as username and `test{1,2,3}` for the password. 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 :) | 220 | Then you will get access to the three nodes at `http://localhost:900{1,2,3}` with the `root` as username and `test{1,2,3}` for the password. 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 :) |
221 | 221 | ||
222 | ### Other commands | 222 | ### Other commands |
223 | 223 | ||