This app was created by me, RayLehnhoff. If you want to support future development of this dashboard, buy me a beer, or otherwise throw XMR my way, my wallet address is: 42XXeiS1eYLj9EKYqcDE6FHivg7wead8x9MVkZmggMGHDpmJ9yoZqMD5XbdPaNRmBq4tSXsuwfn7gLgwB781YbqHCKbNPCt
This monitor serves as a dashboard for users that miner on several devices.
This monitor uses nodejs, express, and angular2.
We assume that you have a running version of nodejs on your computer. If you don't have it, you will need to download it from the nodejs website.
- Download the Project
- Modify the minersconfig.local.ts file in server/minersconfig.local.ts to match your setup:
The minersconfig file should look somewhat like this:
export const miners = {
"miners":[
{"name":"Miner", "url":"http://192.168.86.72:10080", "username":"", "password":""},
{"name":"Server", "url":"http://192.168.86.4:60080", "username":"admin", "password":"admin"},
{"name":"Desktop", "url":"http://localhost:10080", "username":"", "password":""}
]
}
The app will append the /api.json
URL, so do not include it.
These URLs can be either remote or local -- it doesn't matter.
The minersconfig.local.ts file is ignored by this project, so updates should not wipe it out.
-
Open a terminal/command shell, change the directory to the XMR-STAK-Monitor folder and run:
npm install
npm run start
-
Browse to http://localhost:4200 -- the dashboard should now load.
- Run
docker build -t xmr-stak-monitor .
- Run
docker run -p 4200:4200 -p 4300:4300 --name=xmr-stak-monitor xmr-stak-monitor
If you want to change the port the server runs on, you will need to modify the file in server/config.ts -- by default, it runs on port 4300, with the angular (client app/dashboard) running on port 4200. To change the angular app's port, modify protractor.conf.js and change it to whatever you want.