Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

threefoldtecharchive/tfgrid_stats

Repository files navigation

Grid Stats

Version: 1.0.0 CI-CD

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.

Installation

  • Prerequisite

    • Nodejs 16^
  • Clone the repository

    git clone https://github.com/threefoldtech/tfgrid-stats.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_stats
npm install

You can now run the project in development mode using

npm run dev

Building and running in production mode

To create an optimised version of the app:

npm run build

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

Related Documentations