搭建个人博客

ruby更新好之后,

    1. 开心地安了 jekyll
sudo gem install jekyll
    1. 到 wenyuanma.github.io 目录下
bundle install

报错 Could not locate Gemfile
执行 jekyll new . --force
然后再执行 bundle install

    1. 启动 server bundle exec jekyll serve 显示
Configuration file: /Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io/_config.yml
            Source: /Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io
       Destination: /Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.552 seconds.
 Auto-regeneration: enabled for '/Users/mawenyuan/Documents/learn/githublearn/wenyuanma.github.io'
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

在浏览器中输入 http://127.0.0.1:4000/ 个人页面在本地就起来了。

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容