Hexo的简单安装
十二月 26, 2018
1. 在centos环境下安装
1、安装nodejs
1 | yum install nodejs |
2、安装hexo
1 | npm install -g hexo-cli |
3、初始化项目
1 | hexo init doc |
4、npm安装,需要在项目目录下执行命令
1 | npm install |
5、安装Next主题
1 | git clone https://github.com/theme-next/hexo-theme-next themes/next |
6、修改_config.yml配置文件,添加github仓库配置
1 | deploy: |
7、hexo常用命令
1 | # 生成项目 |
查看评论