To edit, preview and publish the blog, you should install the following:
Ruby Development Environment
- Ruby version 2.4.0 or above, including all development headers
- RubyGems (which you can check by running gem -v)
- GCC and Make (in case your system doesn’t have them installed, which you can check by running gcc -v,g++ -v and make -v in your system’s command line interface)
Tooling
- Install Jekyll
Checkout the jekyll branch for development. The master branch is the published site.
See Jekyll posts for details on how to add a new post.
Run jekyll serve to build the site and serve it locally.
- You should checkout this branch (
jekyll) in a directory calledginger-blog. - Checkout the
masterbranch of this repository in a sibling directory../ginger-io.github.io - Run
build.shto generate the static site and sync it with../ginger-io.github.io - Go in
../ginger-io.github.io, review changes, perform the necessarygit add,git rm, etc, and thengit commitandgit pushyour changes.