A web service for graph theoretic exploration of SIF networks.
- Node v14.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 outputv14.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 14
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 start
-
Click on
> Query On SIF Graph Server
and you will see the newt window. -
Now for querying SifGraph click on
Query button
in Newt window. -
Two Options of query will open up select
SifGraph Server (NEW)
. -
Select the query option from the dropdown menu.
- Add API call to make query execute.
- Add pending query options.