Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.07 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.07 KB

GafferHQ.org

This repository contains the website for http://gafferhq.org. It is published to the web via GitHub Pages. Any changes pushed to the upstream master branch go live immediately.

Local Testing

When editing the site it is useful to preview your changes before making them live. The easiest way to do this is to run a local server using Docker. From the root of your git clone:

docker run -t --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages

You can then view the site by navigating to http://0.0.0.0:4000 in your web browser. Changes made to the site will be automatically picked up by the server and visible upon a refresh in the browser.

If docker is unavailable to you, you can use ruby directly instead. cd to the root of your build, and run:

bundle exec jekyll serve

Validation Process

We use Travis CI to automatically validate the site's pages and build on PRs and merges. For more details, and information on validating locally, see Validating Site Builds.