Software Engineering

Jekyll

Jekyll is a blogging framework for the software engineers. You write posts in the command line, and they appear in your blog.  Granted, there are better blogging frameworks, but this is an interesting one. When you create a git repository and push it to a remote repository, you have a great system for capturing for lab notes or work journal entries.

Getting Started

Starting with Jekyll is simple and straight forward. As the instructions on the home page (http://jekyllrb.com/) states:

~ $ gem install jekyll
~ $ jekyll new my-awesome-site
~ $ cd my-awesome-site
~/my-awesome-site $ jekyll serve

Now take care of persisting it to a git repository:

~/my-awesome-site $ git init
~/my-awesome-site $ git add .
~/my-awesome-site $ git commit -m "Initial check-in"
~/my-awesome-site $ git remote add origin <url to your remote git repo>
~/my-awesome-site $ git push -u origin --all

Writing Posts

Jekyll documentation explains how to do things, so look there. I wrote a little script to create new posts easier:

Jekyll is not complete yet, it is in version 1.0, but I can see some uses for it.

Leave a Reply

Your email address will not be published. Required fields are marked *

WhatsApp WhatsApp Me