hexo-github搭建总结

下面是我搭建博客的一些总结

搭建步骤

1.安装git
2.设置git免密登陆
3.安装node.js
4.安装hexo
5.关联git和hexo
6.测试关联结果
7.搭建问题总结

1.git安装、测试

git安装完后可以使用以下命令测试

1
$ git --version

7.搭建问题总结

1.node.js安装后先执行npm install -g cnpm –registry=https://registry.npm.taobao.org ,安装阿里的镜像,以后都使用cnpm代替npm安装模块
2.hexo关联git的时候,配置_config.yml文件冒号后面记得留空格,否则会关联失败,并且不报错,很难找到问题

undefined