From e2a1662318483fb225149f534425c92daec51b94 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Tue, 6 Aug 2013 12:01:34 -0700 Subject: [PATCH] README: update build instructions --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2bc267ad8..85b113cbc 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,10 @@ See [go-etcd][go-etcd] for a native go client. Or feel free to just use curl, as ### Building -etcd is installed like any other Go (golang >= 1.1) binary. The steps below will put everything into a directory called etcd. +To build etcd run the build script. This will generate a binary in the base directory called `./etcd`. ``` -mkdir etcd -cd etcd -export GOPATH=`pwd` -go get github.com/coreos/etcd -go install github.com/coreos/etcd +./build ``` ### Running a single node @@ -33,7 +29,7 @@ go install github.com/coreos/etcd These examples will use a single node cluster to show you the basics of the etcd REST API. Lets start etcd: ```sh -./bin/etcd +./etcd ``` This will bring up a node, which will be listening on internal port 7001 (for server communication) and external port 4001 (for client communication)