2.0.1 • Published 8 years ago
egg-alinode v2.0.1
egg-alinode
alinode plugin for egg.
Install
$ npm i egg-alinodeUsage
Enable this plugin
// config/plugin.js
exports.alinode = {
enable: true,
package: 'egg-alinode',
};Add appid and secret from https://node.console.aliyun.com/
// config/config.default.js
exports.alinode = {
enable: true,
appid: 'my app id',
secret: 'my app secret',
};Start dispatch.js with NODE_LOG_DIR={logdir} and ENABLE_NODE_LOG=yes env:
$ ENABLE_NODE_LOG=yes NODE_LOG_DIR=/mylogdir/ alinode dispatch.jsIf you use
egg-scripts, the env is already set for you.
$ egg-scripts startQuestions & Suggestions
Please open an issue here.