README: update build instructions
parent
0045b3b764
commit
e2a1662318
10
README.md
10
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)
|
||||
|
|
Loading…
Reference in New Issue