alinode plugin for egg.
$ npm i egg-alinode
Enable this plugin
// config/plugin.js
exports.alinode = true;
Add appid
and secret
from http://alinode.aliyun.com/
// config/config.default.js
exports.alinode = {
appid: '123',
secret: 'my secret haha',
};
Start dispatch.js with NODE_LOG_DIR={logdir}
and ENABLE_NODE_LOG=yes
env:
$ ENABLE_NODE_LOG=yes NODE_LOG_DIR=/mylogdir/ alinode dispatch.js
Please open an issue here.