go-ethereum/swarm/dev
Lewis Marshall c7041fe145 cmd/swarm: Exit if --ethapi is set
The previous attempt to use --ethapi as a fallback if --ens-api is not
set does not work because --ens-api has a default value, and also
setting --ens-api to "" is the suggested way to disable ENS lookups.

Signed-off-by: Lewis Marshall <lewis@lmars.net>
2017-06-30 10:16:03 +01:00
..
scripts cmd/swarm: Exit if --ethapi is set 2017-06-30 10:16:03 +01: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
Dockerfile swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
Makefile swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
README.md swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
bashrc swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00
run.sh swarm/dev: add development environment (#14332) 2017-06-01 12:52:18 +02:00

README.md

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, geth 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.