Jekyll

Posted on By Richard

  1. 安装RUBY环境

    sudo apt-get install ruby ruby-dev
    sudo apt-get install ruby-full

  2. 安装RubyGems

    sudo apt-get install rubygems
    sudo gem update –system

  3. 安装nodejs环境

    sudo apt-get install nodejs

  4. 更换GEM SOURCES

    gem sources –add https://gems.ruby-china.com –remove https://rubygems.org/
    gem sources -l

  5. 安装JEKYLL 和 MARKDOWN支持

    sudo apt-get install build-essential
    sudo gem install jekyll
    sudo gem install rdiscount

  6. 安装jekyll4剑客

    sudo gem install bundler #打包用工具
    sudo gem install jekyll-paginate #分页设置工具
    sudo gem install minima #默认主题
    sudo gem install jekyll-feed #订阅用的工具

  7. 验证jekyll安装是否成功

    jekyll new myblog