diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-25 14:55:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-25 14:55:25 +0200 |
commit | 4f97f58383c37d11a8f8ae3ef6e2b761307cb4d0 (patch) | |
tree | 81464f0a1d9e3753e1e7aeed125fc121eb7c5560 /.github/CONTRIBUTING.md | |
parent | 37a44fc915eef2140e22ceb96aba6b6eb2509007 (diff) | |
download | PeerTube-4f97f58383c37d11a8f8ae3ef6e2b761307cb4d0.tar.gz PeerTube-4f97f58383c37d11a8f8ae3ef6e2b761307cb4d0.tar.zst PeerTube-4f97f58383c37d11a8f8ae3ef6e2b761307cb4d0.zip |
Update PR template and contributing guide
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}` |