2019年10月21日 星期一

jekyll blog 建置

1. jekyll 套件有blog template,可見置static blog, 發佈到github,使用https://csjou-hwu.github.io/


Ref: https://ithelp.ithome.com.tw/articles/10198964



2. Windows 10 x64 @ ASUS DM6660

3. https://jekyllrb.com/docs/installation/windows/

Install Ruby @ Windows 10

    3-1 download https://rubyinstaller.org/downloads/
Ruby+Devkit 2.6.5-1 (x64)  132MB

    3-2 Install


    3-3 Enable Linux sub System

    3-3 Download/Install Ubuntu 18.04 LTS


    sudo apt-get update -y && sudo apt-get upgrade -y       //很久
    sudo apt-add-repository ppa:brightbox/ruby-ng
    sudo apt-get update
    sudo apt-get install ruby2.5 ruby2.5-dev build-essential dh-autoreconf
    sudo gem update
    sudo gem install jekyll bundler
--- Takes longer time far more than what I was expected.
4. jekyll new myblog1

5. cd blog

6. bundle exec jekyll serve --host=0.0.0.0





git clone https://github.com/csjou-hwu/csjou-hwu.github.io.git




沒有留言:

張貼留言