JEKYLL 开发环境搭建

刘大尉 于 2023-12-30 发布

安装 Rbenv

# 安装 Ruby
rbenv install 3.1.2
# 应用 Ruby
rbenv global 3.1.2   # set the default Ruby version for this machine
# or:
rbenv local 3.1.2    # set the Ruby version for this directory

JEKYLL https://jekyllrb.com/

  gem install bundler jekyll

  jekyll new my-awesome-site

  cd my-awesome-site

  bundle exec jekyll serve

# => Now browse to http://localhost:4000