这是程序员博客的源码仓库,基于 Bootstrap4 框架构建,使用 Jekyll 工具渲染网页,托管在 GitHub Pages 服务上。
传送门:mrzhqiang.github.io。
- 必备环境:Jekyll Requirements
- 开发环境:
注意,对于 gem update
,需要安装依赖:
sudo apt-get install ruby-dev
为了加速下载依赖,可以替换国内 Gem 源(可选):
gem sources -add https://gems.ruby-china.com --remove https://rubygems.org/
gem sources -l
最后,运行本地服务器:
$ bundle exec jekyll serve
如果还有其他问题,请参考:Jekyll Docs。