install jekyll

Start my blog;

Install RVM

1
2
curl -sSL https://get.rvm.io | bash -s stable
rvm list known

rvm install ruby

1
2
3
rvm install ruby-2.4.1
rvm use ruby-2.4.1
rvm --default use 2.4.1

install jekyll

1
2
gem sources --add https://gems.ruby-china.com/
gem install jekyll

jekyll run with draft visible

jekyll serve --draft

Run

create jekyll project,and then add gem theme in Gemfile

1
2
bundle install
bundle exec jekyll serve

Conclusion

let’s start。