Run Block Producers on local network
Once you have completed the pre-requisites for your operating system, follow these steps:
Setup Option 1: Download Docker Compose Files from the Release
-
Download the Docker Compose files:
- Go to the Releases page of this repository.
- Download the latest
openmina-vX.Y.Z-docker-compose.zip
(or.tar.gz
) file corresponding to the release version (available since v0.8.0).
-
Extract the files:
- Unzip or untar the downloaded file:
or
unzip openmina-vX.Y.Z-docker-compose.zip
tar -xzvf openmina-vX.Y.Z-docker-compose.tar.gz
- Replace
vX.Y.Z
with the actual release version you downloaded.
- Unzip or untar the downloaded file:
-
Navigate to the extracted directory:
cd openmina-vX.Y.Z-docker-compose
Setup Option 2: Clone the Repository
-
Clone this repository:
git clone https://github.com/openmina/openmina.git
-
Navigate to the repository:
cd openmina
Launch
Run the following command to start the demo:
docker compose -f docker-compose.local.producers.yml up --pull always --force-recreate
And finally:
Open your browser and visit http://localhost:8070
You should see the following screen: