Start by updating the packages list by typing and install curl
$ sudo apt update && sudo apt install curl
Install nodejs using curl and apt package manager
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt install nodejs
To verify the installation execute the following command
$ node -v
$ npm -v
- Clone repository and install dependencies:
$ git clone git@github.com:DataScienceResearchPeru/epidemiologic-calculator-web.git
$ cd epidemiologic-calculator-web
$ npm install
- Run application:
$ npm start
Open the browser at http://localhost:3000/