Skip to content

Commit 285e684

Browse files
author
Jeff McCormick
committed
update docs
1 parent b1a93a4 commit 285e684

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

docs/build.asciidoc

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,26 @@ git clone https://github.com/CrunchyData/postgres-operator.git
5858
cd postgres-operator
5959
....
6060

61-
== Get the dependencies:
61+
== Get Pre-built Images
62+
At this point if you want to avoid building the images and binary
63+
from source, you can pull down the Docker images as follows:
64+
....
65+
docker pull crunchydata/lspvc:centos7-1.0.0
66+
docker pull crunchydata/postgres-operator:centos7-1.0.0
67+
....
68+
69+
Then to get the *pgo* client, go to the Releases page and download the tar ball, uncompress
70+
it into your $HOME directory:
71+
....
72+
cd $HOME
73+
wget https://github.com/CrunchyData/postgres-operator/releases/download/v1.0/postgres-operator.1.0.0.tar.gz
74+
tar xvzf ./postgres-operator.1.0.0.tar.gz
75+
....
76+
77+
Lastly, add the *pgo* client into your PATH.
78+
79+
80+
== Source Dependencies
6281

6382
Install a golang compiler, this can be done with either
6483
your package manager or by following directions
@@ -82,14 +101,14 @@ sudo systemctl restart docker
82101
newgrp docker
83102
....
84103

85-
== Compile the CLI:
104+
== Compile *pgo*
86105
....
87106
cd $COROOT
88107
make pgo
89108
which pgo
90109
....
91110

92-
== Compile and build the operator Docker images:
111+
== Build the Docker Images
93112
....
94113
cd $COROOT
95114
make operatorimage
@@ -116,7 +135,7 @@ desired PVC to use when databases and clusters are created.
116135
When you first run the operator, it will create the required
117136
ThirdPartyResources.
118137

119-
== Setup initial configuration file for the postgres operator CLI
138+
== Setup *pgo* Configuration File
120139

121140
The *pgo* client requires two configuration files be copied
122141
to your $HOME as follows:

0 commit comments

Comments
 (0)