Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.31 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.31 KB

HotNet2 Web Visualization

We provide scripts for viewing the output of the HotNet2.py in an interactive web application.

Setup

The visualization scripts have additional dependencies that must be installed.

  1. Python. The web application is run using a Tornado web server. Install the required modules in requirements.txt using the following command:

     pip install -r requirements.txt
    
  2. Node, NPM, and Bower. We use Bower to manage Javascript and CSS dependencies. You can install Bower using the Node Package Manager (NPM), which requires Node.js to be installed. Once NPM is installed, install Bower and then use Bower to install the dependencies:

     npm install -g bower
     bower install
    

If successful, this will create a directory bower_components.

Usage

Use server.py to start the web server. At a minimum, server.py requires just one argument:

python server.py -i </path/to/HotNet2.py/output/directory>

By default, it will serve the web application port 8000, which you can view by pointing your browser to http://localhost:8000.

For additional details on usage, please see the wiki.