From bcedaf3391a2d9d1314c0d6bb99eeeaac83daf69 Mon Sep 17 00:00:00 2001 From: Christopher Winslett Date: Mon, 16 Mar 2015 16:23:42 -0700 Subject: [PATCH] make README copy and pasteable --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 697ac050..98b56bbf 100644 --- a/README.md +++ b/README.md @@ -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: