Ethereum network status dashboard for PoW and PoA networks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ethstats-server/README.md

43 lines
1.2 KiB

6 years ago
Ethereum POA-Network Stats
============
[![Build Status][travis-image]][travis-url] [![dependency status][dep-image]][dep-url]
6 years ago
This is a visual interface for tracking proof-of-authority 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 [netstats-client](https://github.com/goerli/netstats-client).
10 years ago
![Screenshot](src/poa/images/screenshot-v0.1.0.png "Screenshot")
## Prerequisite
* node
* npm
## Installation
10 years ago
Make sure you have node.js and npm installed.
10 years ago
Clone the repository and install the dependencies
```bash
6 years ago
git clone https://github.com/goerli/netstats-server
cd netstats-server
10 years ago
npm install
sudo npm install -g grunt-cli
```
## Build the resources
6 years ago
In order to build the static files you have to run grunt tasks which will generate dist directories containing the js and css files, fonts and images.
```bash
grunt
```
## Run
```bash
6 years ago
WS_SECRET="asdf" npm start
```
see the interface at http://localhost:3000
6 years ago
[travis-image]: https://travis-ci.org/goerli/netstats-server.svg
[travis-url]: https://travis-ci.org/goerli/netstats-server
[dep-image]: https://david-dm.org/goerli/netstats-server.svg
[dep-url]: https://david-dm.org/goerli/netstats-server