2018.11.19
①.搭建个人blog
https://www.cnblogs.com/fengxiongZz/p/7707219.html(主要看这个,写的很有逻辑给作者点赞)
https://blog.youkuaiyun.com/ainuser/article/details/77609180(辅助)
②.生成/.SSH(报错:$ bash: cd: /c/Users/Administrator/.ssh: No such file or directory)
http://www.cnblogs.com/gongnol/p/9435290.html (完美解决,我是windows10 出现这个问题)
③.Blog主题推荐
https://www.jianshu.com/p/465830080ea9(推荐几个theme不错)
④.执行$ hexo new post "TestTitle"时报错(发现是deployment没有配置好,导致很多东西找不到):http://blog.sina.com.cn/s/blog_a03baecd0102xp7i.html
博客文件夹Hexo下的_config.yml的 Deployment配置(在这个文件的最下面rep和branch没有就加上,是记事本打开就好)
#Deployment
deploy:
type: git
repository: git@github.com:chehongshu/chehongshu.github.io.git
branch: master
每个 : 之后都要有个空格
⑤.hexo部署问题:Error: spawn git ENOENT
https://blog.youkuaiyun.com/rainloving/article/details/46595559
D:\Git\bin
D:\Git \mingw64\libexec\git-core (我的是window下64位 这个文件夹的位置在这里)
⑥.Hexo d -g 出现Error: fatal: not a git repository (or any of the parent directories): .git
https://www.cnblogs.com/tenderwx/p/5783432.html
删掉 根目录下的文件夹:.deploy_git,重新npm install hexo-deployer-git --save和hexo d -g就可以了。
⑦:我选的比较简约的博客主题,next
https://blog.youkuaiyun.com/qq_32454537/article/details/79482896
欢迎来我随手生活技术 blog:https://chehongshu.github.io
当然优快云依然是习惯
补充::
hexo生成博文插入图片完美解决方案
https://blog.youkuaiyun.com/sugar_rainbow/article/details/57415705