Skip to content

decred/dcr-netstats

This branch is 17 commits ahead of, 24 commits behind cubedro/eth-netstats:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a10dd08 · Jul 13, 2017
Feb 26, 2015
Jun 9, 2016
Jul 13, 2017
Aug 14, 2015
Aug 19, 2015
May 19, 2015
Jul 29, 2015
Dec 3, 2014
Feb 5, 2015
Jun 5, 2017
Dec 17, 2016
Apr 11, 2016
Apr 13, 2016

Repository files navigation

Decred Network Stats

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

Prerequisite

  • node
  • npm

Installation

Make sure you have node.js and npm installed.

Clone the repository and install the dependencies

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

##Build the resources In order to build the static files you have to run grunt tasks which will generate dist directory with the static js and css files, fonts and images.

To build the full version run

grunt

##Run

Change your credentials in lib/utils/config.json You need to set user, password and full path to the rpc.cert

Install pm2 package globally

npm install -g pm2

And run application

pm2 startOrRestart package.json --env=production

see the interface at http://localhost:3000

Packages

No packages published

Languages

  • JavaScript 91.6%
  • CSS 7.9%
  • HTML 0.5%