Jekyll安装
今天看到别的同学大佬有搭建自己的github的网站,非常心动,所以也决定上网操守一番。
-
然后需要在本机运行jekyll – 教程
快速在 Windows 上搭建 Jekyll 开发环境
- 然后发现一直报错 ‘ Could not locate Gemfile ’
- 最后解决 根据https://stackoverflow.com/questions/3329953/could-not-locate-gemfile – 需要先下模板进入模板源码根目录下
以及https://talk.jekyllrb.com/t/load-error-cannot-load-such-file-webrick/5417/4
bundle install
—- 打命令: bundle add webrick
bundle update
jekyll serve
>>>这个是下在本地的Jekyll模板页面
Run在localhost上面: http://127.0.0.1:4000/