github.com/SmartMeshFoundation/Spectrum@v0.0.0-20220621030607-452a266fee1e/swarm/dev/README.md (about)

     1  Swarm development environment
     2  =============================
     3  
     4  The Swarm development environment is a Linux bash shell which can be run in a
     5  Docker container and provides a predictable build and test environment.
     6  
     7  ### Start the Docker container
     8  
     9  Run the `run.sh` script to build the Docker image and run it, you will then be
    10  at a bash prompt inside the `swarm/dev` directory.
    11  
    12  ### Build binaries
    13  
    14  Run `make` to build the `swarm`, `geth` and `bootnode` binaries into the
    15  `swarm/dev/bin` directory.
    16  
    17  ### Boot a cluster
    18  
    19  Run `make cluster` to start a 3 node Swarm cluster, or run
    20  `scripts/boot-cluster.sh --size N` to boot a cluster of size N.