gochain / netstats

GNU General Public License v3.0
4 stars 4 forks source link

GoStats - GoChain Network Stats Dashboard

CircleCI

This is a visual interface for tracking GoChain network status. It uses WebSockets to receive stats from running nodes and output them through an angular interface.

Screenshot

Prequisites

Run

export WS_SECRET=YOURSECRET
make docker
WS_SECRET=YOOOOO make run

Check it out at http://localhost:3000

Running outside Docker

Prerequisite

Installation

Make sure you have node.js and npm installed.

Clone the repository and install the dependencies

git clone https://github.com/gochain-io/netstats
cd netstats
npm install
sudo npm install -g grunt-cli

Build the resources

NetStats features two versions: the full version and the lite version. In order to build the static files you have to run grunt tasks which will generate dist or dist-lite directories containing the js and css files, fonts and images.

To build the full version run

grunt

To build the lite version run

grunt lite

If you want to build both versions run

grunt all

Run

npm start

see the interface at http://localhost:3000