Turn to Self blog (http://gongzheng92.net) Github page Blog Configuration
After a tangle, decided to start blogging, but hope that the configuration of the blog environment is:
Use Markdown Write as MD file in this machine, use Git to manage, then update Gitpage blog with CSDN blog at the same time.
So the configuration process is:
1. CSDN Blog Preparation
2. Git blog preparation, and local Jekyll building
3. Prepare the local markdown environment.
In these few, the first is to learn that CSDN can directly accept the local upload of the MD file, so decided to start writing on the csdn. However, due to the CSDN account registration is more cluttered, so you want to unify the account before the follow-up work. But in this csdn of the various performance is very uncomfortable, including and not limited to: Confirm mail delivery time is very slow, user name, nickname separate, and are not allowed to repeat, mailbox modification is very cumbersome and so on, I have time to another blog narrative. Anyway, until I was writing this article, CSDN's account mailbox still hasn't changed.
Second, git blog preparation, and local Jekyll building
Git page blog building is rich in online information, such as the establishment of personal sites via GitHub pages (detailed steps) Run Jekyll on Windows Jekyll Quick Start
3 of them are Jekyll's official tutorials. Windows platform Build Jekyll
Because I installed the Windows platform first, so did not follow the official tutorial directly, but according to [2].
In the Run
Gem Update
, there is a
Please update your PATH to include build tools or download the DevKit from ' Http://rubyinstaller.org/downloads ' and follow The instructions at ' Http://github.com/oneclick/rubyinstaller/wiki/Development-Kit
The error.
Found after finding that Ruby version and Devkit version inconsistent, loaded into 64-bit. Please note that Ruby and Devkit versions are consistent.
Then in the execution
Gem Install Jekyll
This step, there is a
Unable to download data from https://rubygems.org/
-ssl_connect returned=1 errno=0 state=sslv3 read
server Certi Ficate b:certificate Verify failed
(https://rubygems.org/latest_specs.4.8.gz)
This error is found due to a bug caused by the change of Ruby's official website certificate issuer, this article gives a good solution: fixing ssl_connect Error while installing Ruby Gems on Windows
Then you can finally start executing the server:
Jekyll Server
The results come back.
D:/ruby23/lib/ruby/gems/2.3.0/gems/bundler-1.13.4/lib/bundler/resolver.rb:366:in ' block in Verify_gemfile_ dependencies_are_found! ': Could not find gem ' Jekyll-sitemap x64-mingw32 ' in any of the gems sources listed in your Gemfile or available on the This machine. (Bundler::gemnotfound)
Then the literal meaning is executed:
Gem Install Bundler
Results when you open the server again, you find:
In ' Block in verify_gemfile_dependencies_are_found! ': Could not find gem ' Jekyll-sitemap x64-mingw32 ' in any of the gem so Urces listed in your gemfile or available on the This machine. (Bundler::gemnotfound)
Find out: Jekyll broke after 2.5 upgrade resolves this issue:
Under administrator privileges:
Gem cleanup
bundle exec Jekyll serve
And then error, execute
Bundle Install
Open the server again, you can.
Then I found a horrible thing ..... I want to change the hexo ....
The reason is that after just setting up the Jekyll, in the search for the topic suddenly found that hexo have more good-looking themes, and support more features. So I could not bear it directly. Continue to toss. the construction of Hexo
Hexo has a lot of building guides, such as the history of the most detailed Hexo blog building graphics tutorial using Github Pages + Hexo + more say Build blog whole process-Basic Official document Jekyll migration to Hexo build a personal blog
4 of them are lying learning objects, so they set up a new blog according to it.