简介
后端基于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
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
Please sign in to use Codespaces.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
后端基于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