brenton / okd.io

Source files used to build the https://www.okd.io site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OKD.io

This repo contains the sources for the OKD.io.

Development

Note Node.js is a required dependency on Linux machines

Firstly install the necessary packages on your machine:

sudo apt-get install ruby-full
sudo gem install bundler
sudo bundle install

To develop on your local machine run the middleman server and you should be able to preview your changes at http://localhost:4567

bundle exec middleman server

Developing with a local container

To test a local version of the site using a containerized builder/server, please see the local containerized server instructions.

Create Blog article

Create a file in the directory source/blog.

The filename must be in the format: yyyy-mm-dd-<title>.html.markdown

The first lines of the file must contain this:

---
title: <TITLE>
date: yyyy-mm-dd (exactly the same date as for the filename!)
tags: upgrade (choose tags to categorize articles)
---

< MARKDOWN :-) >

Deployment

To deploy your changes please submit a pull request while following our contribution guidelines

Make sure to populate the OPENSHIFT_GITHUB_ID and OPENSHIFT_GITHUB_SECRET env variables to ensure authenticated GitHub API usage (and prevent request throttling).

About

Source files used to build the https://www.okd.io site


Languages

Language:JavaScript 57.1%Language:CSS 19.5%Language:HTML 10.4%Language:SCSS 8.4%Language:PHP 4.0%Language:Shell 0.2%Language:Ruby 0.2%Language:CoffeeScript 0.1%