• 安装nodejs和git:
  • 配置git,生成ssh key,添加至github,使当前电脑的git与你的github相连:
1
2
3
git config --global user.name "Yangerle"
git config --global user.email "********@qq.com"
ssh-keygen -t rsa -C "********@qq.com"
1
2
3
4
5
6
7
npm install hexo-cli -g
npm install hexo-generator-search
npm install
npm install hexo-deployer-git --save
hexo g
hexo d
hexo s (本地测试)