redhat-cop / Openshift Playbooks
Licence: cc-by-sa-4.0
Source for the add on documentation site for OpenShift Container Platform.
Stars: ✭ 174
Labels
= Documentation Site for OpenShift Playbooks
OpenShift Playbooks is a documentation site for OpenShift, maintained by the OpenShift community and moderated by the North America Emerging Technologies Practice in Red Hat Consulting.
== Overview
This site is written in asciidoc format and is built using the link:https://github.com/asciidoctor/jekyll-asciidoc[Asciidoctor plugin for Jekyll].
== Contribution
=== Quickstart Guide using Docker
- Clone git repositories
https://github.com/redhat-cop/openshift-playbooks.git
git clone- Start Site Builder Container
-u id -u
-it
-v $PWD/:/home/jekyll/src/:Z
-p 4000:4000
redhatcop/jekyll-local-builder
cd openshift-playbooks
docker run - Launch browser and navigate to
http://localhost:4000
=== Quickstart Guide using RHEL (or derivatives)
- Install necessary packages.
sudo yum install -y libyaml-devel autoconf gcc-c++ readline-devel zlib-devel libffi-devel openssl-devel automake libtool bison sqlite-devel
- Install Node.js Version Manager (nvm -- see https://github.com/creationix/nvm)
https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
curl -o-- link:https://rvm.io/[Install RVM]
gnome-terminal
users, you'll need to do this link:https://rvm.io/integration/gnome-terminal[additional step]
2. Install and use Ruby 2.4
+
NOTE: For rvm install 2.4.0 rvm use 2.4.0
- Install and set up RubyGems
rvm rubygems latest
- Install bundler
gem install bundler
- Install project dependencies
bundle install
- Build site source
bundle exec jekyll build
- Run local Jekyll server to view site
bundle exec jekyll serve
=== Building the Image
cd container-images/local-builder
docker build -t redhatcop/jekyll-local-builder:latest .
=== Further Development
See our full link:./development_guide.adoc[contribution guide] for more details
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].