Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.21 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.21 KB

Grid Stats

Introduction

Grid Stats is a web application created to replace explorer.threefold.io with a simple page showing a capacity map + statistics. In the map, you get to see node distribution with each node location highlighted. While in Statistics section, general details about the nodes are being displayed like online nodes, farms count, total storage used, gateways ...etc. Also, you can select one or more networks to get their stats.

Installation

  • Prerequisite

    • Nodejs 18^
  • Clone the repository

    git clone https://github.com/threefoldtech/tfgrid-sdk-ts.git

Get started

Install the dependencies...

Before running the Grid Stats, in your terminal move to the project directory, then install the required dependencies using

cd tfgrid-sdk-ts
yarn install

You can now run the project in development mode using

yarn workspace @threefold/stats dev

Building and running in production mode

To create an optimised version of the app:

yarn workspace @threefold/stats build

This will generate the production build in the dist directory, which can be served using Caddy or NGINX