see egg docs for more detail.
$ npm install
$ npm run dev
$ open http://localhost:7001/newsUse EGG_SERVER_ENV=prod to enable prod mode
$ EGG_SERVER_ENV=prod npm start- 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.