An open API service indexing awesome lists of open source software.

https://github.com/larrycai/mkblog

make jekyll based blog
https://github.com/larrycai/mkblog

Last synced: 2 months ago
JSON representation

make jekyll based blog

Awesome Lists containing this project

README

        

= `mkblog` - generate jekyll blog hosted in github

{}[http://travis-ci.org/larrycai/mkblog]

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}[https://github.com/mojombo/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}[http://pages.github.com/] 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`.