echo ‘hello world!’
Before that, you should install a full Ruby development environment.
- Ruby version 2.2.5 or above, including all development headers (ruby version can be checked by running ruby -v)
- RubyGems (which you can check by running gem -v)
- GCC and Make (in case your system doesn’t have them installed, which you can check by running gcc -v,g++ -v and make -v in your system’s command line interface)
Especially, use RVM to help you install Ruby/Gem easily:
$ gpg --keyserver \
Then, you should create a new repo named username.github.io, where username is your username(or organization name) on GitHub.
Ok, you first create your blog at localhost:
$ gem install jekyll bundler
Rename myblog to username.github.io and enter it:
$ git init
Wait a minute, you can see your own blog at https://username.github.io.
++ Update on 2018/9/27 ++