aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/dev/bashrc
diff options
context:
space:
mode:
authorLewis Marshall <lewis@lmars.net>2017-06-01 18:52:18 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-06-01 18:52:18 +0800
commit0036e2a74761413200ce3a8ed316ecb721895f60 (patch)
tree1ac94ec2c89a9055999056cd6d99e2955c4409fd /swarm/dev/bashrc
parent727eadacca761e4abb4273a87dc601bb79d3167d (diff)
downloadgo-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.tar
go-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.tar.gz
go-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.tar.bz2
go-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.tar.lz
go-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.tar.xz
go-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.tar.zst
go-tangerine-0036e2a74761413200ce3a8ed316ecb721895f60.zip
swarm/dev: add development environment (#14332)
This PR adds a Swarm development environment which can be run in a Docker container and provides scripts for building binaries and running Swarm clusters.
Diffstat (limited to 'swarm/dev/bashrc')
-rw-r--r--swarm/dev/bashrc21
1 files changed, 21 insertions, 0 deletions
diff --git a/swarm/dev/bashrc b/swarm/dev/bashrc
new file mode 100644
index 000000000..efb504fa3
--- /dev/null
+++ b/swarm/dev/bashrc
@@ -0,0 +1,21 @@
+export ROOT="${GOPATH}/src/github.com/ethereum/go-ethereum"
+export PATH="${ROOT}/swarm/dev/bin:${PATH}"
+
+cd "${ROOT}/swarm/dev"
+
+cat <<WELCOME
+
+=============================================
+
+Welcome to the swarm development environment.
+
+- Run 'make' to build the swarm, geth and bootnode binaries
+- Run 'make test' to run the swarm unit tests
+- Run 'make cluster' to start a swarm cluster
+- Run 'exit' to exit the development environment
+
+See the 'scripts' directory for some useful scripts.
+
+=============================================
+
+WELCOME