From: Chocobozzz Date: Fri, 25 Jun 2021 12:55:25 +0000 (+0200) Subject: Update PR template and contributing guide X-Git-Tag: v3.3.0-rc.1~53 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=4f97f58383c37d11a8f8ae3ef6e2b761307cb4d0;p=github%2FChocobozzz%2FPeerTube.git Update PR template and contributing guide --- 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! - [Server side](#server-side) - [Client side](#client-side) - [Client and server side](#client-and-server-side) - - [Testing the federation of PeerTube servers](#testing-the-federation-of-peertube-servers) - - [Unit tests](#unit-tests) + - [RTL layout](#rtl-layout) + - [Testing](#testing) + - [Unit tests](#unit-tests) + - [Testing the federation of PeerTube servers](#testing-the-federation-of-peertube-servers) - [Emails](#emails) - [Plugins & Themes](#plugins--themes) @@ -224,14 +226,16 @@ $ createdb -O peertube peertube_test{1,2,3} Build the application and flush the old tests data: ``` -$ npm run build -- --light +$ npm run build $ npm run clean:server:test ``` -This will run 3 nodes: +To run 3 nodes: ``` -$ npm run play +$ NODE_APP_INSTANCE=1 NODE_ENV=test npm start +$ NODE_APP_INSTANCE=2 NODE_ENV=test npm start +$ NODE_APP_INSTANCE=3 NODE_ENV=test npm start ``` Then you will get access to the three nodes at `http://localhost:900{1,2,3}` diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index a49db848f..3c96818a3 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,24 +6,16 @@ - ## Has this been tested? - + + + - [ ] 👍 yes, I added tests to the test suite -- [ ] 👍 yes, light tests as follows are enough - [ ] 💭 no, because this PR is a draft and still needs work -- [ ] 🙅 no, because they aren't needed -- [ ] 🙋 no, because I need help - - +- [ ] 🙅 no, because this PR does not update server code +- [ ] 🙋 no, because I need help