第1期:使用hexo搭建个人博客页面

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

1
2
3
$ npm install hexo-cli -g
$ hexo init blog
$ cd blog

创建页面

1
$ hexo new "第1期:使用hexo搭建个人博客页面"

More info: Writing

运行监听服务

修改页面不需要重启服务,但如果是修改站点配置_config.yaml就需要重启

1
$ hexo server

More info: Server

生成public目录用于部署

1
$ hexo generate

More info: Generating

参考来源