1. First create your own project directory, the project name is: Your Username.github.io, because I created so he warned me, said it has been repeated, and then point to create
Attached to the official website of the commentary document: https://pages.github.com/installation Inside, quickly established after the code clone down.
3. Press Hexo, if you want to install node first, then install git for Windows
4. Open git shell and install Hexo
NPM Install HEXO-CLI-G (global installation)
NPM Install Hexo--save
5. You set up your own project folder. Mine is in F/zcx_git/hexo.
Then go to the Git shell CD under the directory file Hexo init installed in this directory Hexo
After the installation of Hexo server to start the local server, you can see, the default port is localhost:4000: (now installed HEXO It has installed some of the necessary plug-ins, need to go to the official website to download)
6. Configure _CONFIG.YML to have at least parameters in a correct deployment configuration type
, for example:
Deploy
Type:git
Repo: (Repo is the address of your Git remote repository)
Specific detailed configuration: https://hexo.io/docs/configuration.html (official website-English)
Https://hexo.io/zh-cn/docs/configuration.html (English)
7. Last generate static file $ Hexo generate fast build.
8. A quick deployment of a command, too convenient: Hexo deploy (if you want to configure the correct);
With Hexo + GitHub to quickly build a personal blog, because just set up, a little excited, share under, bad place also please point out, thank you