make README copy and pasteable

This commit is contained in:
Christopher Winslett
2015-03-16 16:23:42 -07:00
parent 04631800f2
commit bcedaf3391
+6 -2
View File
@@ -6,8 +6,8 @@ To get started, do the following from different terminals:
```
> etcd --data-dir=data/etcd
> run.py postgresql0.yml
> run.py postgresql1.yml
> ./run.py postgres0.yml
> ./run.py postgres1.yml
```
From there, you will see a high-availability cluster start up. Test
@@ -22,6 +22,10 @@ To get a haproxy load balancing between these two hosts, run:
> sh haproxy_status.sh 127.0.0.1 5433 15433
```
```
> psql --host 127.0.0.1 --port 5000 postgres
```
# Requirements on a Mac
Run the following on a Mac to install requirements: