CausalPath Webserver with new newt as a visualization tool.
This tool is live at: https://causalpath.cs.umb.edu/
- Node v12.x.x
- Unzip (get it with
sudo apt install unzip
) - Java (preferably Java 11, get it with
sudo apt install openjdk-11-jdk
)
- Enter
node --version
in your terminal and it should outputv12.x.x
- if you do not see such output in your terminal, then you have to install node JS
Install Node JS
1. Using nvm
sudo apt-get update
sudo apt-get upgrade
Install curl
sudo apt install curl
Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Installing nvm using nvm
nvm install 12
Check version
node --version
- Visit https://nodejs.org/en/ and download installation file and install it
- Install using homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
node --version
git clone https://github.com/PathwayAndDataAnalysis/causalpath-newt-webserver.git
cd causalpath-newt-webserver
npm install
npm run start