Logo: Relish

  1. Sign in

Project: Mkblog

Mkblog

mkblog - generate jekyll blog hosted in github

Build Status

Author:: Larry Cai (mailto:[email protected])

Copyright:: Copyright (c) 2012 by Larry Cai
License:: Distributes under the Apache License 2.0, see LICENSE in the source distro

This application will generate jekyll based blog, which is hosted in github

Install

Install:

gem install mkblog

Usage

Create new project using your github id, for example you are http://github.com/sample

mkblog --generate sample # generate jekyll powered blog sample.github.com

Now you can see the blog http://localhost:4000 by running jekyll server locally

cd sample
jekyll --server

You can update the information to your personal data, to make it your own blog. I will
tune this step to be better

Create sample.github.com under http://github.com/sample, and follow instruction to push.

Follow the github:pages guideline to put your own blog

If there is problem on encoding, try

export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8   

For more help:

mkblog --help

Todo

update theme

mkblog --update --theme abc

Developing for mkblog

First, install bundler:

gem install bundler

Get the development dependencies

bundle install

Most of the code is in mkblog.rb.

Topics

  1. Getting_started
  2. Changelog
  3. Command line

Last published over 3 years ago by larrycai.