dipsywong98 / collab-network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collab-network

Download

Offline App(windows) (no need set up, just download and play, have fun!)

Report

Set up the application server

  1. git clone the project

  2. download the data_cache and put to /data_cache/ directory

    author.db

    whole_graph.edgelist.gz

  3. install nodejs, yarn and conda

    curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
    sudo apt-get install -y nodejs
    curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
    echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
    sudo apt update && sudo apt install yarn
  4. build the website client which is under client/ directory

    cd client && yarn && yarn build
  5. install python dependencies

    conda install pyvis
  6. start python server

    python server.py

Build and Publish

use virtual env to install all the dependencies https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/

using virtual env run python build.py

About


Languages

Language:Jupyter Notebook 72.7%Language:JavaScript 18.6%Language:Python 5.5%Language:HTML 2.9%Language:CSS 0.3%Language:Shell 0.0%