Browse Source

README: update build instructions

Brandon Philips 12 years ago
parent
commit
e2a1662318
1 changed files with 3 additions and 7 deletions
  1. 3 7
      README.md

+ 3 - 7
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
 ### 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
 ### 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:
 These examples will use a single node cluster to show you the basics of the etcd REST API. Lets start etcd:
 
 
 ```sh
 ```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)
 This will bring up a node, which will be listening on internal port 7001 (for server communication) and external port 4001 (for client communication)