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

o850cHQk/duco-dashboard-node

Repository files navigation

Repo has been archived. revox has said this could get you/me banned (dont think it will but anyway) A new project is being done here that is a simple self hosted version of this dashboard

Duino Coin Dashboard Node

The worker node for the Duinocoin dashboard.

About

This is the worker for the Duino Coin Dashboard. The worker scraps the Duino Coin API Server for wallet updates and then parses this information to the Dashboard.

Docker Setup

This worker can be run in docker-compose with the following commands.

git clone https://github.com/o850cHQk/duco-dashboard-node.git
cd duco-dashboard-node
nano docker-compose.yml
docker-compose up -d

Note you will need to change the enviroment variables to fit your configuration before you start the container.

This git is also compatible with Portainer and can be added as a stack. URL, API, and DEBUG can be added as enviromental variables.

Manual Setup

To set this up simply clone this repo or download it and run it on your pc, there is a simple setup that is prompted when you first run it.

NOTE Only run one of these nodes, the software has not been designed to run multiple. Also do not run start.sh this is ment for running in a docker container and will wipe your Settings.cfg

For Linux

sudo apt update
sudo apt install python3 python3-pip git screen -y
git clone https://github.com/o850cHQk/duco-dashboard-node.git
cd duco-dashboard-node
python3 -m pip install -r requirements.txt

To run this simply use python3 Duco-Dash-Worker.py you can also use screen to this to run in the background or other methods.

Configuration

The configuration is done when the Worker is run for the first time it will ask for 2 things when started

  • Website URL: This is the full url to the base folder of your site, for example https://example.site.com this can also be subfolders as well eg https://example.site.com/dashboard
  • API Key: This is the api key that you setup in your config.php in the Dashboard, if you did not change this from the default this will not work.

Your worker should now start showing you logs of jobs it needs to parse!

About

The worker node for the Duinocoin dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published