@gaoding/egg-alinode

2.0.1 • Public • Published

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 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.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

/@gaoding/egg-alinode/

    Package Sidebar

    Install

    npm i @gaoding/egg-alinode

    Weekly Downloads

    0

    Version

    2.0.1

    License

    none

    Unpacked Size

    9.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • linfanboss
    • gaoding-bot
    • sharkseven
    • facai
    • laoshu133
    • aui
    • mljsgto222
    • xuezi
    • mutou
    • moocher
    • zengtiansheng