see egg docs for more detail.
brew install redis mongodb
brew services start redis
brew services start mongodbTBD
TBD
$ npm i
$ npm run dev
$ open http://localhost:7001/// {app_root}/config/config.prod.jsexports.mini_assets=true;exports.alinode={// 从 `Node.js 性能平台` 获取对应的接入参数appid: process.env.EGG_ALINODE_APPID||'',secret: process.env.EGG_ALINODE_SECRET||'',};$ npm i --production
$ npm run assets
$ npm start
$ npm stop- Use
npm run lintto check code style. - Use
npm testto run unit test. - Use
npm run autodto auto detect dependencies upgrade, see autod for more detail.