From dc4cc8cc3627341160538b2353d62ed34f4aead7 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 31 May 2023 18:16:07 +0100 Subject: [PATCH] Add node version and firefox notes to local setup doc --- docs/setup.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index 12bb4ea4c..047c6b08c 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -16,6 +16,8 @@ Dependencies: We recommend using [RBenv](https://github.com/rbenv/rbenv) to manage Ruby versions. +We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage NodeJS versions. + 1. Install PostgreSQL macOS: @@ -70,12 +72,14 @@ We recommend using [RBenv](https://github.com/rbenv/rbenv) to manage Ruby versio 5. Install JavaScript dependencies - macOS: + Note that we currently use node v16, which is no longer the latest LTS version so you will need to specify the version number when installing - ```bash - brew install node - brew install yarn - ``` + macOS (using nvm): + ```bash + nvm install 16 + nvm use 16 + brew install yarn + ``` Linux (Debian): @@ -167,6 +171,8 @@ We recommend using [RBenv](https://github.com/rbenv/rbenv) to manage Ruby versio ```bash bundle exec rspec ``` + + Note that these tests assume you have firefox installed. ## Using Docker