1. Install git
1-1. Download Git, here is an address: http://git-scm.com/downloads
1-2. Install, all the way next
1-3. Configure the GIT environment variable to add the location of bin in the Git installation path Xx\git\bin and Git-core xx\git\libexec\git-core to the PATH environment variable
2. Installing Jekyll
2-1. Install rubyinstallers,:http://rubyinstaller.org/downloads/, note: The installation process tick add to path adds it to the environment variable
2-2. Install ruby Development kit,:http://rubyinstaller.org/downloads/, which is a compressed package that can be extracted using
2-3. After decompression, enter the directory, perform the Ruby DK.RB init initialization environment, associate the Devkit development package with the Ruby Runtime environment, generate a file config.yml after execution, and add the Ruby installation path
2-4. Next command line execute Ruby dk.rb install
2-5. Change the ruby download source to the domestic ruby China image
Removal: Gem sources--remove https://rubygems.org/
Added: Gem sources-a https://gems.ruby-china.org/
Make effective: Gem Sources-l
2-6. Then the command line executes the gem install Jekyll
2-7. Command line execute gem install bundler
3. Create a local blog
3-1. Then above, command line execution Jekyll new blogs Create local blog with directory name Blogs
3-2. Command line Execution Jekyll Server starts the Jekyll server with the following results: Browser output http://127.0.0.1:4000/to see results
Please add the following to your gemfile-avoid polling for changes:
Gem ' WDM ', ' >= 0.1.0 ' if gem.win_platform?
auto-regeneration:enabled for ' e:/ruby/blogs '
Configuration file:e:/ruby/blogs/_config.yml
Server address:http://127.0.0.1:4000/
Server running. Press Ctrl-c to stop.
4.github
4-1. Create a GitHub account, add SSH authentication, this self-Baidu, and then create a warehouse, the name is fixed as [username].github.io, using git upload
The third step of the blogs blog to the repository, you can access your blog by https://[user name].github.io/blogs
Window under Jekyll+github to build your own blog