环境: linux(centos) 依赖: docker, nginx, NodeJs (hexo的依赖)
$ npm install
# 或者
$ yarn add
markdown 格式
$ npm run publish
$ hexo server
$ npm run publish # 生成 publish 发布目录
$ npm start # 启动服务,本地可以访问localhost:4001查看
$ npm stop # 停止服务
$ npm run restart # 重启
环境: linux(centos) 依赖: docker, nginx, NodeJs (hexo的依赖)
$ npm install
# 或者
$ yarn add
markdown 格式
$ npm run publish
$ hexo server
$ npm run publish # 生成 publish 发布目录
$ npm start # 启动服务,本地可以访问localhost:4001查看
$ npm stop # 停止服务
$ npm run restart # 重启