diff options
author | Bigard Florian <florian.bigard@gmail.com> | 2016-07-27 15:34:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-27 15:34:50 +0200 |
commit | f24c4e44624058e16d4a09856fac8c409203c59f (patch) | |
tree | e0082c52c4b4c781d6caae7f41a3ffe9d37e401c /support/doc/server | |
parent | f018f38e0dbb58d829a2ca33b38449056e451502 (diff) | |
download | PeerTube-f24c4e44624058e16d4a09856fac8c409203c59f.tar.gz PeerTube-f24c4e44624058e16d4a09856fac8c409203c59f.tar.zst PeerTube-f24c4e44624058e16d4a09856fac8c409203c59f.zip |
Server code documentation typo
Diffstat (limited to 'support/doc/server')
-rw-r--r-- | support/doc/server/code.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/server/code.md b/support/doc/server/code.md index 351461242..130d30136 100644 --- a/support/doc/server/code.md +++ b/support/doc/server/code.md | |||
@@ -47,7 +47,7 @@ Uses [JavaScript Standard Style](http://standardjs.com/). | |||
47 | 47 | ||
48 | The `NODE_ENV=test` is set to speed up communications between pods (see [constants.js](https://github.com/Chocobozzz/PeerTube/blob/master/server/initializers/constants.js#L71)). | 48 | The `NODE_ENV=test` is set to speed up communications between pods (see [constants.js](https://github.com/Chocobozzz/PeerTube/blob/master/server/initializers/constants.js#L71)). |
49 | 49 | ||
50 | `npm run help` give you all available commands. | 50 | `npm run help` gives you all available commands. |
51 | 51 | ||
52 | If you want to test the decentralization feature, you can easily run 3 pods by running `npm run play`. The pods password are `test1`, `test2` and `test3`. | 52 | If you want to test the decentralization feature, you can easily run 3 pods by running `npm run play`. The pods password are `test1`, `test2` and `test3`. |
53 | 53 | ||
@@ -64,7 +64,7 @@ The seperate Electron process has the goal to seed videos through WebRTC because | |||
64 | 64 | ||
65 | ![Architecture scheme](https://github.com/Chocobozzz/PeerTube/blob/master/support/doc/server/upload-video.png) | 65 | ![Architecture scheme](https://github.com/Chocobozzz/PeerTube/blob/master/support/doc/server/upload-video.png) |
66 | 66 | ||
67 | When a user upload a video, the rest API asks the Electron process to seed it (communicate with IPC) and then adds it to its Mongo database. | 67 | When a user uploads a video, the rest API asks the Electron process to seed it (communicate with IPC) and then adds it to its Mongo database. |
68 | 68 | ||
69 | If a user wants to watch the video, the tracker will indicate all other users that are watching the video + the Electron process. | 69 | If a user wants to watch the video, the tracker will indicate all other users that are watching the video + the Electron process. |
70 | 70 | ||