在github建立repository:username.github.io2安裝Jekyll-Bootstrap:git clone https://github.com/plusjade/jekyll-bootstrap.git username.github.io cd username.github.com git remote add origin https://github.com/username/username.github.io.gitgit push origin master注意:將username替換為你的使用者名稱。3這樣基本部落格就建立好了。END在本地執行1安裝jekyllgem install jekyll2執行:cd USERNAME.github.iojekyll serve3注意,如果發現類似下列錯誤:Dependency Error: Yikes! It looks like you don"t have jekyll-sitemap or one of its dependencies installed. In order to use Jekyll as currently configured, you"ll need to install this gem. The full error message from Ruby is: "cannot load such file -- jekyll-sitemap" If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! 請安裝bundler:gem install bundler然後安裝bundle:bundle installEND內容更新1新增post:rake post2增加頁面(page):rake page name="pages/about.md"可以修改pages/about.md內容3釋出:$ git add .$ git commit -m "Add new content"$ git push origin masterEND安裝模板1部落格外觀可以透過模板來改觀,你可以下載現成的模板,甚至建立自己的模板。rake theme:install git="https://github.com/jekyllbootstrap/theme-the-program.git"
在github建立repository:username.github.io2安裝Jekyll-Bootstrap:git clone https://github.com/plusjade/jekyll-bootstrap.git username.github.io cd username.github.com git remote add origin https://github.com/username/username.github.io.gitgit push origin master注意:將username替換為你的使用者名稱。3這樣基本部落格就建立好了。END在本地執行1安裝jekyllgem install jekyll2執行:cd USERNAME.github.iojekyll serve3注意,如果發現類似下列錯誤:Dependency Error: Yikes! It looks like you don"t have jekyll-sitemap or one of its dependencies installed. In order to use Jekyll as currently configured, you"ll need to install this gem. The full error message from Ruby is: "cannot load such file -- jekyll-sitemap" If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! 請安裝bundler:gem install bundler然後安裝bundle:bundle installEND內容更新1新增post:rake post2增加頁面(page):rake page name="pages/about.md"可以修改pages/about.md內容3釋出:$ git add .$ git commit -m "Add new content"$ git push origin masterEND安裝模板1部落格外觀可以透過模板來改觀,你可以下載現成的模板,甚至建立自己的模板。rake theme:install git="https://github.com/jekyllbootstrap/theme-the-program.git"