Linux新手指北

创建自己的博客——Github.com

2017-09-23  本文已影响0人  imrdr

install Node.js git

Install Hexo

npm install -g hexo-cli
npm install hexo-deployer-git --save

use Hexo

hexo init <folder>
cd <folder>
npm install

use github.username.io

git config -l
git config user.name myusername@126.com
git config user.email myusername@126.com
git remote add origin https://github.com/myusername/myusername.github.io.git
lang: zh-CN
type: git 
repo: https://github.com/myusername/myusername.github.io.git 
branch: master
hexo g
hexo s
hexo d
# input username
# input password for username

https://hexo.io/docs/configuration.html

上一篇下一篇

猜你喜欢

热点阅读