aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-12-01 22:19:34 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-12-09 17:23:27 +0100
commitfd8e5e3c6b124408b6bc8b12563d3d9a7101a5fa (patch)
treef06ef94bc9e97c02956098aaa42eb1390c9df5d2
parent72cb731c44e9ff848d9d4b7d0245f525d249c316 (diff)
downloadPeerTube-fd8e5e3c6b124408b6bc8b12563d3d9a7101a5fa.tar.gz
PeerTube-fd8e5e3c6b124408b6bc8b12563d3d9a7101a5fa.tar.zst
PeerTube-fd8e5e3c6b124408b6bc8b12563d3d9a7101a5fa.zip
Reorganize readme
-rw-r--r--README.md24
1 files changed, 13 insertions, 11 deletions
diff --git a/README.md b/README.md
index efacfc741..d3adcb94f 100644
--- a/README.md
+++ b/README.md
@@ -142,17 +142,6 @@ Thanks to [WebTorrent](https://github.com/feross/webtorrent), we can make P2P (t
142 142
143## Usage 143## Usage
144 144
145### Development
146
147 $ npm run dev
148
149### Test with 3 fresh nodes
150
151 $ npm run clean:server:test
152 $ npm run play
153
154Then 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 :)
155
156### Production 145### Production
157 146
158If you want to run PeerTube for production (bad idea for now :) ): 147If you want to run PeerTube for production (bad idea for now :) ):
@@ -181,6 +170,17 @@ The following commands will upgrade the source (according to your current branch
181 $ npm run upgrade 170 $ npm run upgrade
182 # systemctl start peertube 171 # systemctl start peertube
183 172
173### Development
174
175 $ npm run dev
176
177### Test with 3 fresh nodes
178
179 $ npm run clean:server:test
180 $ npm run play
181
182Then 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 :)
183
184### Other commands 184### Other commands
185 185
186To print all available command run: 186To print all available command run:
@@ -197,6 +197,8 @@ See the [contributing guide](https://github.com/Chocobozzz/PeerTube/blob/master/
197 197
198See the [server code documentation](https://github.com/Chocobozzz/PeerTube/blob/master/support/doc/server/code.md). 198See the [server code documentation](https://github.com/Chocobozzz/PeerTube/blob/master/support/doc/server/code.md).
199 199
200See the [client code documentation](https://github.com/Chocobozzz/PeerTube/blob/master/support/doc/client/code.md).
201
200 202
201## Architecture 203## Architecture
202 204