Skip to content

Commit 2a161f7

Browse files
committed
Changes the tutorial to get etc from git and build it
1 parent 0778301 commit 2a161f7

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

doc/simplecluster/Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
etcd: etcd --data-dir /tmp/etcd.data$PORT
1+
etcd: ../../../../../../bin/etcd --data-dir /tmp/etcd.data$PORT
22
doorman: $GOPATH/bin/doorman -logtostderr -config=./config.yml -port=$PORT -debug_port=$(expr $PORT + 50) -etcd_endpoints=http://localhost:2379 -master_election_lock=/doorman.master -hostname=localhost
33

doc/simplecluster/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@ In this tutorial we'll start a simple cluster consisting of 3 doorman servers. T
77

88
[etcd](https://github.com/coreos/etcd) is a [distributed lock manager](https://en.wikipedia.org/wiki/Distributed_lock_manager) that Doorman uses for leader election.
99

10-
On OS X, you can use [Homebrew](http://brew.sh/)
10+
Retrieve and build etcd:
1111

1212
```sh
13-
brew install etcd
14-
```
15-
16-
On Ubuntu, you can do
17-
18-
```sh
19-
sudo apt-get install etcd
13+
go get github.com/coreos/etcd
2014
```
2115

2216
### Foreman
@@ -440,4 +434,4 @@ resource: "fair"
440434
capacity: 100
441435
```
442436

443-
And now, both `big` and `bigger` received 300 capacity units.
437+
And now, both `big` and `bigger` received 300 capacity units.

0 commit comments

Comments
 (0)