1.6 KiB
1.6 KiB
TEO Network Stats
============
WS_SECRET value is "1111" anynode can do join this stats!!!
This is a visual interface for tracking teo network status. It uses WebSockets to receive stats from running nodes and output them through an angular interface. It is the front-end implementation for teo-net-intelligence-api.
Prerequisite
- teo-net-intelligence-api
- node
- npm
Installation
Make sure you have node.js and npm installed.
Clone the repository and install the dependencies
git clone https://github.com/tao-foundation/teo-netstats
cd eth-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
npm run dist
Run
npm start
see the interface at http://localhost:3000