node-blog
node-blog copied to clipboard
简介
后端基于Thinkjs 2.0构建,前端使用gulp构建
获取
git clone https://github.com/eyblog/blog.git
配置
启动
npm install
npm start
##编译
gulp
npm run compile
部署
线上部署只需要把编译后的app文件夹上传即可
配置:./pm2.json
将部署方式修改为production模式
pm2 startOrGracefulReload pm2.json