搭建 Hexo
搭建 Hexo
FromskoHexo 安装部署教程
环境准备
配置
nvm
和nodejs
1
2
3
4
5
6
7
8
9安装 nvm-winodws 配置 Node 环境
nvm install 18.16.0
nvm use 18.16.0
安装 hexo-cli 工具
npm install -g hexo-cli
安装 hexo 上传工具
npm install hexo-deployer-git --save配置
git
Download Git app1
2
3
4
5
6配置 Git 用户信息
git config --global user.name "username"
git config --global user.email useremail@qq.com
配置 Github SSH
ssh-keygen -t rsa "username@qq.com"
配置 Hexo
1 | 生成一个 Hexo 项目 |
修改 hexo 配置
获取到自己 Github 仓库的地址
dir/_config.yaml line:106
1 | # Deployment |