We provide scripts for viewing the output of the HotNet2.py
in an interactive web application.
The visualization scripts have additional dependencies that must be installed.
-
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
-
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
.
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.