X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.github%2FCONTRIBUTING.md;h=568b726a5f556baf65e60a7cb2a63736136cb473;hb=2549146e2f74377029e95a8a93ea4c8e3d602374;hp=1672ebfa9b7523eee8982f9f6cb9b32f6b6650c0;hpb=50b4dcce56275e57fc15ade7529f5c501cad150d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 1672ebfa9..568b726a5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -7,8 +7,9 @@ Interested in contributing? Awesome! * [Translate](#translate) * [Give your feedback](#give-your-feedback) * [Write documentation](#write-documentation) - * [Develop](#develop) * [Improve the website](#improve-the-website) + * [Develop](#develop) + * [Write a plugin or a theme](#plugins--themes) ## Translate @@ -57,7 +58,7 @@ First, you should use a server or PC with at least 4GB of RAM. Less RAM may lead Make sure that you have followed [the steps](/support/doc/dependencies.md) -to install the dependencies. +to install the dependencies. You'll need to install **NodeJS 10**. Fork the github repository, and then clone the sources and install node modules: @@ -194,8 +195,12 @@ $ npm test If you just want to run 1 test: ``` -$ npm run mocha -- --exit --require ts-node/register/type-check --bail server/tests/api/index.ts +$ npm run mocha -- --exit -r ts-node/register -r tsconfig-paths/register --bail server/tests/api/index.ts ``` Instance configurations are in `config/test-{1,2,3,4,5,6}.yaml`. Note that only instance 2 has transcoding enabled. + +## Plugins & Themes + +See the dedicated documentation: https://docs.joinpeertube.org/#/contribute-plugins