Install MiningOS
MiningOS is deployed as a set of microservices that communicate over Holepunch RPC. The frontend UI uses React and connects to backend services through an API Gateway. The API Gateway handles request routing, authentication, and access control. The backend services use Node.js, expose RPC endpoints and encapsulate business logic, data processing, and internal service-to-service communication.
Architecture Overview
The following installation guide covers all the MiningOS microservices that include:
Total: 19 worker types + mock servers(development environment)
Prerequisites
System Requirements
Operating System:
Ubuntu
macOS
Windows
Hardware (Minimum for Development):
4+ CPU cores
8GB+ RAM
32GB available disk space
Hardware (Recommended for Production):
8+ CPU cores
16GB+ RAM
128GB+ SSD storage
Software Requirements
Required:
Node.js >= 20.0 (LTS recommended)
npm >= 10.0 (comes with Node.js)
git
pm2 (npm install -g pm2)
HP RPC (npm install -g hp-rpc-cli)
Update all worker commands to use the production environment on the production server (currently set to development).
Create a Working Directory
Before you begin the installation process, create a working directory using the following command:
Use the same working directory for all the workers.
Last updated