diff options
Diffstat (limited to '.github/CONTRIBUTING.md')
-rw-r--r-- | .github/CONTRIBUTING.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a37159fa8..47129ea74 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md | |||
@@ -18,8 +18,10 @@ Interested in contributing? Awesome! | |||
18 | - [Server side](#server-side) | 18 | - [Server side](#server-side) |
19 | - [Client side](#client-side) | 19 | - [Client side](#client-side) |
20 | - [Client and server side](#client-and-server-side) | 20 | - [Client and server side](#client-and-server-side) |
21 | - [Testing the federation of PeerTube servers](#testing-the-federation-of-peertube-servers) | 21 | - [RTL layout](#rtl-layout) |
22 | - [Unit tests](#unit-tests) | 22 | - [Testing](#testing) |
23 | - [Unit tests](#unit-tests) | ||
24 | - [Testing the federation of PeerTube servers](#testing-the-federation-of-peertube-servers) | ||
23 | - [Emails](#emails) | 25 | - [Emails](#emails) |
24 | - [Plugins & Themes](#plugins--themes) | 26 | - [Plugins & Themes](#plugins--themes) |
25 | 27 | ||
@@ -224,14 +226,16 @@ $ createdb -O peertube peertube_test{1,2,3} | |||
224 | Build the application and flush the old tests data: | 226 | Build the application and flush the old tests data: |
225 | 227 | ||
226 | ``` | 228 | ``` |
227 | $ npm run build -- --light | 229 | $ npm run build |
228 | $ npm run clean:server:test | 230 | $ npm run clean:server:test |
229 | ``` | 231 | ``` |
230 | 232 | ||
231 | This will run 3 nodes: | 233 | To run 3 nodes: |
232 | 234 | ||
233 | ``` | 235 | ``` |
234 | $ npm run play | 236 | $ NODE_APP_INSTANCE=1 NODE_ENV=test npm start |
237 | $ NODE_APP_INSTANCE=2 NODE_ENV=test npm start | ||
238 | $ NODE_APP_INSTANCE=3 NODE_ENV=test npm start | ||
235 | ``` | 239 | ``` |
236 | 240 | ||
237 | Then you will get access to the three nodes at `http://localhost:900{1,2,3}` | 241 | Then you will get access to the three nodes at `http://localhost:900{1,2,3}` |