see egg docs for more detail.
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- Use
npm run lint
to check code style. - Use
npm test
to run unit test. - Use
npm run autod
to auto detect dependencies upgrade, see autod for more detail.
- 服务器:47.108.158.162 password: 987654321yun. (mysql 一样).
- 启动redis: brew services start redis
- 关闭redis: brew services stop redis
- 重启redis: brew services restart redis