From b30661e5f7c6db65e008a3aeab2b9708e199b7f5 Mon Sep 17 00:00:00 2001 From: H Copperm Date: Wed, 1 Mar 2017 13:01:47 -0800 Subject: [PATCH 1/3] Update README for n00bs * --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b765165b61..82c646570e 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ and away you go with a full-stack blockchain and command line tool for transacti WARNING: Currently uses plain-text private keys for transactions and is otherwise not production ready. +## Prerequisites + +* Go to https://golang.org/doc/install to install Golang. +* Once you have Golang installed you will also need to install the Golang package manager `glide`: https://github.com/Masterminds/glide. +* You will also need to set the $GOPATH environment variable as per the instructions [here](https://golang.org/doc/code.html#GOPATH). + ## Installation On a good day, basecoin can be installed like a normal Go program: From f538761329ad79c41384935f4bf5ecb65b431b0f Mon Sep 17 00:00:00 2001 From: H Copperm Date: Thu, 2 Mar 2017 19:37:13 -0800 Subject: [PATCH 2/3] clarify re. compiling from source --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 82c646570e..fea9226d47 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ WARNING: Currently uses plain-text private keys for transactions and is otherwis ## Prerequisites * Go to https://golang.org/doc/install to install Golang. -* Once you have Golang installed you will also need to install the Golang package manager `glide`: https://github.com/Masterminds/glide. * You will also need to set the $GOPATH environment variable as per the instructions [here](https://golang.org/doc/code.html#GOPATH). ## Installation @@ -27,14 +26,14 @@ On a good day, basecoin can be installed like a normal Go program: go get -u github.com/tendermint/basecoin/cmd/basecoin ``` -In some cases, if that fails, or if another branch is required, -we use `glide` for dependency management. -The guaranteed correct way of compiling from source, assuming you've already -run `go get` or otherwise cloned the repo, is: +In some cases, if that fails, or if another branch is required, you may have to compile from source. +You will first need to install the Golang package manager [`glide`](https://github.com/Masterminds/glide). ``` -cd $GOPATH/src/github.com/tendermint/basecoin +cd $GOPATH +git clone git@github.com:tendermint/basecoin.git +cd src/github.com/tendermint/basecoin git checkout develop # (until we release tendermint v0.9) make get_vendor_deps make install From 17585244a19539d5a1d8c372afb078b2d690e836 Mon Sep 17 00:00:00 2001 From: H Copperm Date: Fri, 3 Mar 2017 13:39:38 -0800 Subject: [PATCH 3/3] updated per ethan's instructions --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fea9226d47..6b4b0c34e4 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,11 @@ go get -u github.com/tendermint/basecoin/cmd/basecoin ``` -In some cases, if that fails, or if another branch is required, you may have to compile from source. +If that fails, or if another branch is required, you may have to compile from source. You will first need to install the Golang package manager [`glide`](https://github.com/Masterminds/glide). ``` -cd $GOPATH -git clone git@github.com:tendermint/basecoin.git -cd src/github.com/tendermint/basecoin +cd $GOPATH/src/github.com/tendermint/basecoin git checkout develop # (until we release tendermint v0.9) make get_vendor_deps make install