GitHub Pages + Hexo搭建博客

GitHub Pages + Hexo搭建博客
个人博客:GitHub Pages + Hexo - 搭建博客
1. 准备
安装git 安装Node.js
2. GitHub Pages
1. 注册GitHub
2. 登录GitHub
3. 新建仓库

配置SSH-Key 参考步骤 扩展:git配置多个ssh-key
3. 安装Hexo
1. 创建文件夹并进入
2. git Bash
3. 执行命令

npm install -g hexo-cli 4. 初始化框架 hexo init blog blog是装博客的文件夹 5. 进入blog文件夹 cd blog 6. 执行 npm install 7. 执行 hexo server 或者 hexo s 成功的话,能在http://localhost:4000, 能看到下图页面
4. 关联GitHub
修改配置文件 找到本地blog文件

GitHub Pages + Hexo搭建博客最先出现在Python成神之路

版权声明:
作者:Mr李
链接:https://www.techfm.club/p/19017.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>