安装Node.js
https://nodejs.org/dist/v14.16.0/node-v14.16.0-x64.msi
安装git
安装hexo
npm 安装 Hexo
$ npm install -g hexo-cli
建站
$ hexo init <folder>
$ cd <folder>
$ npm install
生成文件
.
├── _config.yml
├── package.json
├── scaffolds
├── source
| ├── _drafts
| └── _posts
└── themes
_config.yml
scaffolds
文章默认模板文件夹,在新产生文档的时候可以在这里的文件夹内的文件中注入永久的信息,方便的代入其所产生的html文件当中
source
用户资源文件夹
themes
网站配置
参阅
https://hexo.io/zh-cn/docs/configuration