go-ethereum/swarm/dev
2019-03-25 23:36:09 -07:00
..
scripts Merge remote-tracking branch 'upstream/release/1.8' into release/2.3 2019-03-25 23:36:09 -07:00
.dockerignore swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
.gitignore swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
bashrc Merge remote-tracking branch 'upstream/release/1.6' into release/2.1 2019-02-21 17:18:29 -08:00
Dockerfile swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
Makefile Merge remote-tracking branch 'upstream/release/1.6' into release/2.1 2019-02-21 17:18:29 -08:00
README.md Merge remote-tracking branch 'upstream/release/1.6' into release/2.1 2019-02-21 17:18:29 -08:00
run.sh Merge remote-tracking branch 'upstream/release/1.6' into release/2.1 2019-02-21 17:18:29 -08:00

Swarm development environment

The Swarm development environment is a Linux bash shell which can be run in a Docker container and provides a predictable build and test environment.

Start the Docker container

Run the run.sh script to build the Docker image and run it, you will then be at a bash prompt inside the swarm/dev directory.

Build binaries

Run make to build the swarm, gubiq and bootnode binaries into the swarm/dev/bin directory.

Boot a cluster

Run make cluster to start a 3 node Swarm cluster, or run scripts/boot-cluster.sh --size N to boot a cluster of size N.