From 682b59a946d2120929f189408bdc3804459ad1dd Mon Sep 17 00:00:00 2001 From: Zadkiel Aharonian Date: Wed, 11 Oct 2023 11:22:21 +0000 Subject: [PATCH] docs --- CONTRIBUTING.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4d5c9c83..9724e2d64 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -39,12 +39,17 @@ Contribute to swag-for-dev using a fully featured online development environment ```sh git clone https://github.com/swapagarwal/swag-for-dev.git ``` -1. Ensure you are running an up-to-date version of [Node.js](https://nodejs.org/en/download/package-manager/) on your machine, and that you have `npm` installed. +1. Ensure you are running an up-to-date version of [Node.js](https://nodejs.org/en/download/package-manager/) on your machine, that you have `npm` and [`nvm` installed](https://github.com/nvm-sh/nvm). 1. Open a terminal in the `swag-for-dev` directory. Type ```sh - npm install + nvm install + nvm use ``` - into the terminal to install the dependencies. To start the webserver, type + in to the terminal to select and install the right NodeJS version. Then proceed with + ```sh + npm ci + ``` + into to install the dependencies. To start the webserver, type ```sh npm start ```