Building and Starting ConsenSys Quorum
This guide outlines the steps for building and starting ConsenSys Quorum.
Prerequisites
- Go: Quorum is written in Go, so you’ll need a Go environment installed.
- Git: Quorum is hosted on GitHub, so you will need Git to download the code.
Obtaining the Source Code
Clone the Quorum repository:
git clone https://github.com/ConsenSys/quorum.git
Navigate to the Quorum directory:
cd quorum
Building Quorum
Build Quorum using the Makefile:
make geth
This command will build the Quorum executable.
Starting Quorum
Run the Quorum executable:
./build/bin/geth
This will launch the Quorum node.
Running Quorum in Docker
For production environments, it’s recommended to run Quorum in a Docker container. Quorum provides a Dockerfile to simplify the process.
Build the Docker image:
docker build -t quorum .
Run the Docker image:
docker run -p 8545:8545 -d quorum
This command starts the Quorum node in a Docker container, exposing port 8545.
Additional Notes
- The
geth
command is the primary entry point for interacting with Quorum. - For detailed information on configuring and using Quorum, refer to the official documentation at https://www.quorum.network/docs/.