limerickgds / egg-alinode

alinode plugin for egg

Home Page:https://alinode.aliyun.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

egg-alinode

NPM version build status Test coverage David deps Known Vulnerabilities npm download

alinode plugin for egg.

Install

$ npm i egg-alinode

Usage

Enable this plugin

// config/plugin.js
exports.alinode = {
  enable: true,
  package: 'egg-alinode',
};

Add appid and secret from http://alinode.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.js

If you use egg-scripts, the env is already set for you.

$ egg-scripts start

Questions & Suggestions

Please open an issue here.

License

MIT

About

alinode plugin for egg

https://alinode.aliyun.com/

License:MIT License


Languages

Language:JavaScript 100.0%