MichaelXi3.github.io

MichaelXi3.github.io

Technical Blogging Site

Getting Started

  1. You will need Ruby and Bundler to use Jekyll. Following Using Jekyll with Bundler to fullfill the enviromental requirement.

  2. Installed dependencies in the Gemfile:

bundle install 
  1. Serve the website (localhost:4000 by default):
bundle exec jekyll serve  # alternatively, npm start

Create New Post

After Rake is introduced, we can use the command below to simplify the post creation:

rake post title="Hello 2015" subtitle="Hello World, Hello Blog"

Note: tags section can also be written as tags: [Life, Meta].

This command will automatically generate a sample post similar to the above under the _posts/ folder.