感谢smile-blog-nuxt提供非常好看的博客模板,由于作者两年未维护,本项目基于smile-blog-nuxt升级改造。
博客地址:https://www.dashingdog.cn
blog客户端使用nuxt框架开发
dashingdog-blog需要安装以下三个系统配合使用:
代码仓库:https://github.com/dashingdog/dashingdog-blog-nuxt
代码仓库:https://github.com/dashingdog/dashingdog-blog-admin
代码仓库:https://github.com/dashingdog/dashingdog-blog-server
- fork项目仓库到自己的代码仓库
- 克隆项目
git clone 你的仓库地址
- 安装依赖
npm install
npm run dev
- 项目部署使用
pm2
,在服务器上先安装npm install -g pm2
(当你已安装了Node) - 安装依赖
npm install
- 编译代码(SSR每次更新代码需要重新render)
npm run build
- 启动代码
npm run start
如果需要使用持续集成可以参考Travis CI部署实践,根据需要修改.travis.yml
和script/deploy.sh
来配置自己的持续集成