README: update build instructions

release-0.4
Brandon Philips 2013-08-06 12:01:34 -07:00
parent 0045b3b764
commit e2a1662318
1 changed files with 3 additions and 7 deletions

View File

@ -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)