####Install Ruby
Generally speaking, the Mac OS will have installed Ruby by default.
To check, open Terminal and run command ‘ruby –version’
####Install Bundler
$ gem install bundler
####Install Jekyll
Create a file in repository called ‘Gemfile’ and add gem ‘github-pages’.
Before run the next line, check whether you have installed ‘xcode-select’ or not.
If not, please install The command line tool for Xcode first by run
$ xcode-select --install
Run
$ bundle install
####Run Jekyll
Run ‘bundle exec jekyll serve’ in Terminal
Now, you can try to open http://localhost:4000/index.html to see your Github page.
####Choose Theme
See here:
Fork the theme you like, unzip it and copy them to your repository folder.
####Ref:
近期评论