Coder Social home page Coder Social logo

carlcapozza / openshift-playbooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhat-cop/openshift-playbooks

0.0 1.0 0.0 6.32 MB

Source for the add on documentation site for OpenShift Container Platform.

Home Page: http://v1.uncontained.io/

License: Creative Commons Attribution Share Alike 4.0 International

Ruby 0.11% HTML 2.62% Shell 1.03% CSS 94.54% JavaScript 1.70%

openshift-playbooks's Introduction

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 Asciidoctor plugin for Jekyll.

Contribution

Quickstart Guide using Docker

  1. Clone git repositories

    git clone https://github.com/redhat-cop/openshift-playbooks.git
  2. Start Site Builder Container

    cd openshift-playbooks
    docker run \
      -u `id -u` -it \
      -v $PWD/:/home/jekyll/src/:Z \
      -p 4000:4000 \
      redhatcop/jekyll-local-builder
  3. Launch browser and navigate to http://localhost:4000

Quickstart Guide using RHEL (or derivatives)

  1. 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
  2. Install Node.js Version Manager (nvm — see https://github.com/creationix/nvm)

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
  3. Install RVM

    Note
    For gnome-terminal users, you’ll need to do this additional step
  4. Install and use Ruby 2.4

    rvm install 2.4.0
    rvm use 2.4.0
  5. Install and set up RubyGems

    rvm rubygems latest
  6. Install bundler

    gem install bundler
  7. Install project dependencies

    bundle install
  8. Build site source

    bundle exec jekyll build
  9. 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 contribution guide for more details

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.