Articles



github.io 網誌建置教學

Publish date: Thu, Nov 29, 2018 · Author: Tony · Categories: other
由此進入申請 專案名稱 xxxx.github.io

將github內容下載
git clone https://github.com/username/xxxx.github.io.git
過程中需要輸入github的帳號及密碼
設定環境
git config --global user.email "xxxx@gmail.com"
git config --global user.name "Tony Wu"
套版面(需有ruby>=2.2.0)
yum -y install ruby ruby-devel
ruby --version
gem install bundler
cd xxxx.github.io.git
vim Gemfile 新增以下內容
source 'https://rubygems.org' 
gem 'github-pages', group: :jekyll_plugins
bundle exec jekyll serve --host 0.0.0.0
本地端瀏覽http://127.0.0.1:4000/
文章目錄
_posts
更新內容
git add .
git commit -m "new page"
git push origin master
簡單的push
git push
查詢狀態
git status
版面教學
https://wcc723.github.io/jekyll/2014/01/12/jekyll-bootstrap/
Read more

No more posts available now on this website :)

About

Welcome to tony's blog 自由軟體愛好者~喜歡不斷的思考各種問題,有新的事物都會想去學習嘗試 做實驗並熱衷研究 沒有所謂頂天的技術 只有謙虛及不斷的學習 精進專業,本站主要以分享系統及網路相關知識、資源而建立。