You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/01/13 23:10:39 UTC

[airavata-django-portal] branch develop updated: Adding .nvmrc for specifying Node.js version to use

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5667aa9  Adding .nvmrc for specifying Node.js version to use
5667aa9 is described below

commit 5667aa99f0b7069661746173a35bcdb0e4b5d893
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Wed Jan 13 18:09:53 2021 -0500

    Adding .nvmrc for specifying Node.js version to use
---
 .nvmrc      | 1 +
 .travis.yml | 4 ++--
 README.md   | 7 +++++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.nvmrc b/.nvmrc
new file mode 100644
index 0000000..e1fcd1e
--- /dev/null
+++ b/.nvmrc
@@ -0,0 +1 @@
+lts/erbium
diff --git a/.travis.yml b/.travis.yml
index cab5d14..f75d669 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,8 @@ python:
   - "3.7"
   - "3.8"
 install:
-  - nvm install lts/*
-  - nvm use lts/*
+  - nvm install
+  - nvm use
   - pip install -r requirements-dev.txt
 script:
   - cp django_airavata/settings_local.py.sample django_airavata/settings_local.py
diff --git a/README.md b/README.md
index 580a506..b021eef 100644
--- a/README.md
+++ b/README.md
@@ -21,8 +21,11 @@ need one of these versions installed locally.
 
 You'll also need Node.js and yarn to build the JavaScript frontend code. Please
 install
-[the most recent LTS version of Node.js](https://nodejs.org/en/download/) and
-[the Yarn package manager](https://yarnpkg.com).
+[the most recent LTS version of Node.js](https://nodejs.org/en/download/). You
+can also use [nvm](https://github.com/nvm-sh/nvm) to manage the Node.js install.
+If you have nvm installed you can run `nvm install && nvm use` before running
+any yarn commands. See [the Yarn package manager](https://yarnpkg.com) for
+information on how to install yarn.
 
 1.  Checkout this project and create a virtual environment.