PDIS / web-jekyll

a Jekyll version of PDIS site https://pdis.nat.gov.tw
https://pdis.nat.gov.tw
41 stars 23 forks source link

建置環境 Development

Windows

  1. git clone --recurse-submodules https://github.com/PDIS/web-jekyll
  2. install Ruby choco install ruby
  3. install RubyInstaller Devkit ridk install (3 - MSYS2 and MINGW development toolchain)
  4. gem install bundler
  5. bundle install
  6. run jekyll serve or jekyll serve --drafts
  7. open browser to 127.0.0.1:4000

macOS

  1. git clone --recurse-submodules https://github.com/PDIS/web-jekyll
  2. install rvm & ruby (macos should have ruby preinstalled)
  3. bundle install --path vendor/bundle
  4. run bundle exec jekyll serve or bundle exec jekyll serve --drafts
  5. open browser to 127.0.0.1:4000

檔案結構 Structure

單篇文章 Text

站內資料 Data

頁面版型 Page

其他 Others