Skip to content

Commit

Permalink
Changes the tutorial to get etc from git and build it
Browse files Browse the repository at this point in the history
  • Loading branch information
josvisser committed Mar 31, 2016
1 parent 0778301 commit 2a161f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/simplecluster/Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
etcd: etcd --data-dir /tmp/etcd.data$PORT
etcd: ../../../../../../bin/etcd --data-dir /tmp/etcd.data$PORT
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

12 changes: 3 additions & 9 deletions doc/simplecluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,10 @@ In this tutorial we'll start a simple cluster consisting of 3 doorman servers. T

[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.

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

```sh
brew install etcd
```

On Ubuntu, you can do

```sh
sudo apt-get install etcd
go get github.com/coreos/etcd
```

### Foreman
Expand Down Expand Up @@ -440,4 +434,4 @@ resource: "fair"
capacity: 100
```

And now, both `big` and `bigger` received 300 capacity units.
And now, both `big` and `bigger` received 300 capacity units.

0 comments on commit 2a161f7

Please sign in to comment.