ActivityPub-federated video streaming platform using P2P directly in your web browser
Improve contributing guide
Chocobozzz1909685158e0
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.mdindex c9988bfeab..a58efc1dda 100644--- a/.github/CONTRIBUTING.md+++ b/.github/CONTRIBUTING.md@@ -75,7 +75,7 @@ $ npm run dev:serverThen, the server will listen on `localhost:9000`. When server source fileschange, these are automatically recompiled and the server will automatically-restart. Server is in `TEST` mode so it will run requests between instances more quickly.+restart.### Client side@@ -93,14 +93,35 @@ The API will listen on `localhost:9000` and the frontend on `localhost:3000`.Client files are automatically compiled on change, and the web browser willreload them automatically thanks to hot module replacement.-### Test federation+### Client and server side++The API will listen on `localhost:9000` and the frontend on `localhost:3000`.+File changes are automatically recompiled, injected in the web browser (no need to refresh manually)+and the web server is automatically restarted.++```+$ npm run dev+```++### FederationThis will run 3 nodes:```+$ npm run build$ npm run clean:server:test$ npm run play```Then you will get 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.+++### Unit tests++To run unit tests, you need to build the application first:++```+$ npm run build+$ npm test+```