To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorGetting_started
mkblog
- generate jekyll blog hosted in github
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
.
Last published almost 7 years ago by larrycai.