Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vciancio/golem-dashboard

ReactJS Dashboard which exposes information about your golem-providers such as # of completed tasks, etc.
https://github.com/vciancio/golem-dashboard

golem golem-network

Last synced: 29 days ago
JSON representation

ReactJS Dashboard which exposes information about your golem-providers such as # of completed tasks, etc.

Awesome Lists containing this project

README

        

# Golem Dashboard

Just a very barebones reactjs dashboard which will display the stats of your golem nodes... Cause ssh-ing into each of them is too hard. Works with [vciancio/golem-node-server](https://github.com/vciancio/golem-node-server)

## Hackathon Entry Plug
[Enterant in the Golem Mainnet @GR9 Hackathon - Open Track](https://gitcoin.co/issue/golemfactory/hackathons/11/100025157#)

* [Presentation](hackathon/Golem-Dashboard.pdf?raw=true) (hackathon/Golem-Dashboard.pdf)
* [Youtube Video Demo](https://youtu.be/N5wGKaRCnZE)
* Team Members - Vincente Ciancio

## Screenshots
|Desktop|Mobile|
|---|---|
|![image](screenshots/Golem-Dashboard-Compact-Desktop.png?raw=true)|![image](screenshots/Golem-Dashboard-Compact-Mobile.png?raw=true)|
|![image](screenshots/Golem-Dashboard-Compact-Details-Desktop.png?raw=true)|![image](screenshots/Golem-Dashboard-Compact-Details-Mobile.png?raw=true)|

## Environment Variables
| Variables | Description | Example |
| ------------- | ----------- | ------- |
| REACT_APP_ADDRESSES | List of `host:port` addresses where your golem instances are located. | 192.168.1.2:5000 |
| REACT_APP_POLL_RATE | Polling Rate to refresh dashboard data in Milliseconds | 5000 |

## Ports
| Port | Description
| ---- | ---- |
| 3000 | Node Port |

## Running Without Docker
> Note: if you don't have your environment variables set on your system, you can set them for a single command as shown below.
> Requires NPM version 6 to run. Make sure to update your NPM version to latest before running this app.
~~~
cd app
npm install
REACT_APP_ADDRESSES=192.168.1.2:5000 npm start
~~~

## Running w/ Docker Compose
~~~
version: '3.5'
services:
node:
container_name: golem_dashboard
build: .
restart: always
environment:
- REACT_APP_ADDRESSES=192.168.1.2:5000,192.168.1.2:5001
- REACT_APP_REFRESH_RATE=5
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- 3000:3000
~~~