From 2aabea10c00bcf5cea08049f8655f8f8d494a8c1 Mon Sep 17 00:00:00 2001 From: DJObleezy <156115770+Djobleezy@users.noreply.github.com> Date: Sun, 23 Mar 2025 18:32:22 -0700 Subject: [PATCH] Update README.md --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 4d72786..35bdd1c 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,39 @@ The dashboard aggregates essential metrics in one accessible interface: For those preferring containerized deployment: +### Option 1: Simple Docker Run + ```bash docker run -d -p 5000:5000 -e WALLET=your-wallet-address -e POWER_COST=0.12 -e POWER_USAGE=3450 yourusername/ocean-mining-dashboard ``` +### Option 2: Build and Run Manually + +1. Clone the repository: + ```bash + git clone https://github.com/yourusername/ocean-mining-dashboard.git + cd ocean-mining-dashboard + ``` + +2. Build the Docker image: + ```bash + docker build -t mining-dashboard . + ``` + +3. Run the container: + ```bash + docker run -d -p 5000:5000 --name mining-dashboard mining-dashboard + ``` + +4. Optional: Run with Redis for data persistence: + ```bash + # First start a Redis container + docker run -d --name redis redis + + # Then start the dashboard with Redis connection + docker run -d -p 5000:5000 --link redis --env REDIS_URL=redis://redis:6379 mining-dashboard + ``` + Then navigate to `http://localhost:5000` in your web browser. ## Dashboard Components