diff --git a/doc/simplecluster/Procfile b/doc/simplecluster/Procfile index 68eb8f8..001547f 100644 --- a/doc/simplecluster/Procfile +++ b/doc/simplecluster/Procfile @@ -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 diff --git a/doc/simplecluster/README.md b/doc/simplecluster/README.md index fd4abd3..3b35c1c 100644 --- a/doc/simplecluster/README.md +++ b/doc/simplecluster/README.md @@ -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 @@ -440,4 +434,4 @@ resource: "fair" capacity: 100 ``` -And now, both `big` and `bigger` received 300 capacity units. \ No newline at end of file +And now, both `big` and `bigger` received 300 capacity units.