Update README.md
This commit is contained in:
parent
953c06a576
commit
53e7387f53
29
README.md
29
README.md
@ -4,7 +4,7 @@ Ethereum Network Stats
|
|||||||
|
|
||||||
This is a visual interface for tracking ethereum 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 [eth-net-intelligence-api](https://github.com/cubedro/eth-net-intelligence-api).
|
This is a visual interface for tracking ethereum 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 [eth-net-intelligence-api](https://github.com/cubedro/eth-net-intelligence-api).
|
||||||
|
|
||||||
![Screenshot](https://raw.githubusercontent.com/cubedro/eth-netstats/master/src/images/screenshot.jpg?v=0.0.6 "Screenshot")
|
![Screenshot](https://raw.githubusercontent.com/eosclab/eth-netstats/master/src/images/screenshot.jpg?v=0.0.6 "Screenshot")
|
||||||
|
|
||||||
## Prerequisite
|
## Prerequisite
|
||||||
* node
|
* node
|
||||||
@ -16,29 +16,16 @@ Make sure you have node.js and npm installed.
|
|||||||
Clone the repository and install the dependencies
|
Clone the repository and install the dependencies
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/cubedro/eth-netstats
|
git clone https://github.com/eosclab/eth-netstats
|
||||||
cd eth-netstats
|
cd eth-netstats
|
||||||
npm install
|
npm install
|
||||||
sudo npm install -g grunt-cli
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build the resources
|
## 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 run
|
||||||
To build the full version run
|
|
||||||
```bash
|
```bash
|
||||||
grunt
|
npm run build
|
||||||
```
|
|
||||||
|
|
||||||
To build the lite version run
|
|
||||||
```bash
|
|
||||||
grunt lite
|
|
||||||
```
|
|
||||||
|
|
||||||
If you want to build both versions run
|
|
||||||
```bash
|
|
||||||
grunt all
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
@ -49,7 +36,7 @@ npm start
|
|||||||
|
|
||||||
see the interface at http://localhost:3000
|
see the interface at http://localhost:3000
|
||||||
|
|
||||||
[travis-image]: https://travis-ci.org/cubedro/eth-netstats.svg
|
[travis-image]: https://travis-ci.org/eosclab/eth-netstats.svg
|
||||||
[travis-url]: https://travis-ci.org/cubedro/eth-netstats
|
[travis-url]: https://travis-ci.org/eosclab/eth-netstats
|
||||||
[dep-image]: https://david-dm.org/cubedro/eth-netstats.svg
|
[dep-image]: https://david-dm.org/eosclab/eth-netstats.svg
|
||||||
[dep-url]: https://david-dm.org/cubedro/eth-netstats
|
[dep-url]: https://david-dm.org/eosclab/eth-netstats
|
||||||
|
Loading…
Reference in New Issue
Block a user