logo

Yingyu's Magic World

Jekyll安装

今天看到别的同学大佬有搭建自己的github的网站,非常心动,所以也决定上网操守一番。

  1. Github.io教程

  2. 然后需要在本机运行jekyll – 教程

jekyll教程

快速在 Windows 上搭建 Jekyll 开发环境

wins上搭建jekyll

  1. 然后发现一直报错 ‘ Could not locate Gemfile ’

clip_image002

  1. 最后解决 根据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

clip_image004

clip_image006

>>>这个是下在本地的Jekyll模板页面

Run在localhost上面: http://127.0.0.1:4000/