Make built exe a one-run Windows installer pointing at LAN dashboard.
Install copies miner to AppData, registers autostart, relaunches silently, and builder defaults server URL to local IP.
This commit is contained in:
23
README.md
23
README.md
@@ -5,13 +5,26 @@ Private Monero (XMR) fleet control server for your own network. Run the control
|
||||
## Quick Start
|
||||
|
||||
1. Install [Go 1.21+](https://go.dev/dl/) and [Node.js 20+](https://nodejs.org/) (or let `run.bat` install them).
|
||||
2. Double-click **`run.bat`** or run it from a terminal.
|
||||
3. Open **http://localhost:8989**
|
||||
2. Double-click **`run.bat`** on your control PC.
|
||||
3. Open **http://YOUR-LOCAL-IP:8989** (shown when the server starts).
|
||||
4. Go to **Settings** and set your wallet + pool.
|
||||
5. Go to **Miner Builder**, name a worker, click **Build Miner .exe**.
|
||||
6. Copy the built file from the path shown (under `data/builds/`) to target Windows machines and run it.
|
||||
5. Go to **Miner Builder**, enter a worker name, click **Build Installer .exe**.
|
||||
6. Copy `install-{worker}.exe` to each Windows machine on your LAN and **run it once**.
|
||||
|
||||
## What Gets Built
|
||||
Each installer:
|
||||
|
||||
- Copies the miner to `%LOCALAPPDATA%\CryptoMiner\{worker}-{build}\miner.exe`
|
||||
- Registers Windows auto-start (and optional scheduled task)
|
||||
- Connects back to your dashboard at your **LAN IP:8989**
|
||||
- Appears on the **Agents** and **Dashboard** pages automatically
|
||||
|
||||
## End Result
|
||||
|
||||
| Piece | What it does |
|
||||
|-------|----------------|
|
||||
| Control PC | Runs the web dashboard on local IP + port **8989** |
|
||||
| Dashboard | Configure pool/wallet/defaults, build installers, track all miners |
|
||||
| `install-{name}.exe` | Single file you run once on each worker PC to install + start mining |
|
||||
|
||||
| Component | Purpose |
|
||||
|-----------|---------|
|
||||
|
||||
Reference in New Issue
Block a user