Skip to content

PathwayAndDataAnalysis/causalpath-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1c9513a · Oct 10, 2022
Apr 12, 2022
Oct 10, 2022
Aug 1, 2022
Feb 2, 2017
Apr 27, 2022
Aug 3, 2022
Apr 12, 2022
Apr 12, 2022
Feb 2, 2017
Feb 14, 2019
Apr 12, 2022
Apr 23, 2019
Feb 25, 2017
Apr 5, 2022
Jan 25, 2021
Mar 29, 2022
Oct 10, 2022
Feb 12, 2019
Feb 14, 2019
Feb 2, 2017

Repository files navigation

A Web Server for CausalPath

Installation

Install node.js and mongodb servers first.

Node:

curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -

sudo apt-get install -y nodejs

Mongo:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

sudo apt-get update

sudo apt-get install -y mongodb-org

If mongo does not work:

sudo apt-get install upstart-sysv

Get project from github:

git clone https://github.com/PathwayAndDataAnalysis/causalpath-webserver.git

cd causalpath-webserver

npm install

Run server:

npm run start

In order to open a client:

Enter “http://localhost:3001” to the address bar of your browser.