<commit_before>= Installation Guide - Crunchy Containers for PostgreSQL
Crunchy Data Solutions, Inc.
v1.2.3, {docdate}
:title-logo-image: image:crunchy_logo.png["CrunchyData Logo",align="center",scaledwidth="80%"]

== Installation Instructions

The crunchy-containers can run on different environments including:
 * standalone docker
 * openshift enterprise
 * kubernetes 1.2.X

In this document we list the basic installation steps required for these
environments.

=== Project Setup

This instruction assumes you are installing on Centos 7 or RHEL 7.

=== Assumptions

The install assumes the following about your host configuration:
 * centos7 (or RHEL7) VM
 * user called someuser has been created
 * someuser has sudo privileges with no password

=== Step 1 - Project Directory Structure

First add the following lines to your .bashrc file to set
the project paths:
....
export GOPATH=$HOME/cdev
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
export CCP_BASEOS=centos7
export CCP_PGVERSION=9.5
export CCP_VERSION=1.2.1
export BUILDBASE=$GOPATH/src/github.com/crunchydata/crunchy-containers
....

Next, set up a project directory structure and pull down the project:
....
mkdir $HOME/cdev $HOME/cdev/src $HOME/cdev/pkg $HOME/cdev/bin
cd $GOPATH
sudo yum -y install golang git docker
go get github.com/tools/godep
cd src/github.com
mkdir crunchydata
cd crunchydata
git clone https://github.com/crunchydata/crunchy-containers
cd crunchy-containers
git checkout 1.2.2
godep restore
....

*If you are a Crunchy enterprise customer, you will place the CRUNCHY repo
key and yum repo file into the $BUILDBASE/conf directory at this point.*

=== Step 2 - Install the Host Dependencies<commit_msg>update install docs to add CCP_IMAGE_TAG<commit_after>= Installation Guide - Crunchy Containers for PostgreSQL
Crunchy Data Solutions, Inc.
v1.2.3, {docdate}
:title-logo-image: image:crunchy_logo.png["CrunchyData Logo",align="center",scaledwidth="80%"]

== Installation Instructions

The crunchy-containers can run on different environments including:
 * standalone docker
 * openshift enterprise
 * kubernetes 1.2.X

In this document we list the basic installation steps required for these
environments.

=== Project Setup

This instruction assumes you are installing on Centos 7 or RHEL 7.

=== Assumptions

The install assumes the following about your host configuration:
 * centos7 (or RHEL7) VM
 * user called someuser has been created
 * someuser has sudo privileges with no password

=== Step 1 - Project Directory Structure

First add the following lines to your .bashrc file to set
the project paths:
....
export GOPATH=$HOME/cdev
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
export CCP_BASEOS=centos7
export CCP_PGVERSION=9.5
export CCP_VERSION=1.2.2
export CCP_IMAGE_TAG=$CCP_BASEOS-$CCP_PGVERSION-$CCP_VERSION
export BUILDBASE=$GOPATH/src/github.com/crunchydata/crunchy-containers
....

Next, set up a project directory structure and pull down the project:
....
mkdir $HOME/cdev $HOME/cdev/src $HOME/cdev/pkg $HOME/cdev/bin
cd $GOPATH
sudo yum -y install golang git docker
go get github.com/tools/godep
cd src/github.com
mkdir crunchydata
cd crunchydata
git clone https://github.com/crunchydata/crunchy-containers
cd crunchy-containers
git checkout 1.2.2
godep restore
....

*If you are a Crunchy enterprise customer, you will place the CRUNCHY repo
key and yum repo file into the $BUILDBASE/conf directory at this point.*

=== Step 2 - Install the Host Dependencies
{'fraction_non_alphanumeric': 0.08223116733755031, 'fraction_numerical': 0.012650948821161587, 'mean_word_length': 4.77906976744186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4971856', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1069, 'n_words': 396}