From a6d5160db45e2e61f64c8f4bf289f4c02edf65bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Parker?= Date: Sun, 11 Jul 2021 23:41:40 +0200 Subject: [PATCH] add missing pieces to contributing.md --- .nvmrc | 1 + CONTRIBUTING.md | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..dc08cc7bd0 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +10.24.1 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 98fa9b8662..15d798de3d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,10 +31,20 @@ yarn install ### Linux -Install [git](https://git-scm.com/), [node.js](https://nodejs.org/) (version ^10.15), [GNU Make](http://www.gnu.org/software/make/), and libglew-dev +Install [git](https://git-scm.com/), [GNU Make](http://www.gnu.org/software/make/), and libglew-dev ```bash sudo apt-get update && -sudo apt-get install build-essential git nodejs libglew-dev libxi-dev +sudo apt-get install build-essential git libglew-dev libxi-dev default-jre default-jdk +``` + +Install [nvm](https://github.com/nvm-sh/nvm) +```bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash +``` + +Install [Node.js](https://nodejs.org/) ^10.15 +``` +nvm install 10.24.1 # latest v10 version that will run the test suite ``` Install [yarn](https://yarnpkg.com/en/docs/install#linux-tab)