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
The worker node for the Duinocoin dashboard.
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.
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.
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.
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 eghttps://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!