安装Hexo

新建一个仓库

01

给仓库起个名

格式为 账号名.github.io

02

打开stetings

03

打开GitHub pages

滑到下面,找到这个GitHub pages ,点击打开

04

出现以下图说明成功了

05

新建blog文件夹

新建一个blog文件夹,在blog文件夹打开Git Bash Here

06安装hexo-cli插件

1
npm install -g hexo-cli

07

初始化博客

1
hexo init

08

静态部署博客

mark:1
1
hexo g

09

打开本地服务器

1
hexo s

0901

查看博客

浏览器输入localhost:4000查看

1
localhost:4000

10

停止本地服务器

ctrl+s,停止本地服务器运行

目前博客已经基本完成了