From fd66a3888916492e4ccdd3fedb1343f2107320a0 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Mon, 23 Jan 2017 10:32:52 +0100 Subject: [PATCH] More detailed install instructions. --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a04c8102f..f0b8ed027 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,27 @@ ### Deploy etcd - $ kubectl create -f github.com/coreos/etcd/hack/kubernetes-deploy/etcd.yaml + $ kubectl create -f https://github.com/coreos/etcd/blob/master/hack/kubernetes-deploy/etcd.yaml + +## Set your go path and put the sources so that go build finds them + + $ export GOPATH=~/git/go/src/github.bus.zalan.do/acid/ + $ mkdir -p ~/git/go/src/github.bus.zalan.do/acid/ + $ cd ~/git/go/src/github.bus.zalan.do/acid/ && git clone https://github.bus.zalan.do/acid/postgres-operator -b prototype +### Install Glide on OS X + + $ brew install glide + +### Install Glide on Ubuntu + + # sudo add-apt-repository ppa:masterminds/glide && sudo apt-get update + # sudo apt-get install glide + +### Install dependencies with Glide + + $ glide update && glide install + ### Run operator (outside kubernetes cluster) $ go run main.go @@ -26,4 +45,4 @@ ### Watch Pods being created - $ kubectl get pods -w \ No newline at end of file + $ kubectl get pods -w