{"user":"cnode","name":"egg-cnode","namespace":"cnode","repository_type":"image","status":1,"status_description":"active","description":"CNode powered by Egg.js","is_private":false,"is_automated":false,"star_count":0,"pull_count":509,"last_updated":"2018-10-17T04:12:43.155702Z","last_modified":"2024-10-16T13:48:34.145251Z","date_registered":"2018-03-08T15:33:35.626064Z","collaborator_count":0,"affiliation":null,"hub_user":"cnode","has_starred":false,"full_description":"# cnode\n\n[![powered by Egg.js][egg-image]][egg]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n\n[egg-image]: https://img.shields.io/badge/Powered%20By-Egg.js-ff69b4.svg?style=flat-square\n[travis-image]: https://img.shields.io/travis/cnodejs/egg-cnode.svg?style=flat-square\n[travis-url]: https://travis-ci.org/cnodejs/egg-cnode\n[codecov-image]: https://img.shields.io/codecov/c/github/cnodejs/egg-cnode.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/cnodejs/egg-cnode\n[david-image]: https://img.shields.io/david/cnodejs/egg-cnode.svg?style=flat-square\n[david-url]: https://david-dm.org/cnodejs/egg-cnode\n[snyk-image]: https://snyk.io/test/github/cnodejs/egg-cnode/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/github/cnodejs/egg-cnode\n\n## QuickStart\n\n\u003c!-- add docs here for user --\u003e\n\nsee [egg docs][egg] for more detail.\n\n### Environment Dependencies\n\n- [redis](https://redis.io/)\n- [mongodb](https://www.mongodb.com/)\n\n#### macOS Install\n\n```bash\nbrew install redis mongodb\nbrew services start redis\nbrew services start mongodb\n```\n\n#### Linux Install\n\nTBD\n\n#### Windows Install\n\nTBD\n\n### Development\n\n```bash\n$ npm i\n$ npm run dev\n$ open http://localhost:7001/\n```\n\n### Deploy\n\n```js \n// {app_root}/config/config.prod.js\n\nexports.mini_assets = true;\n\nexports.alinode = {\n  // 从 `Node.js 性能平台` 获取对应的接入参数\n  appid: process.env.EGG_ALINODE_APPID || '',\n  secret: process.env.EGG_ALINODE_SECRET || '',\n};\n```\n\n```bash\n$ npm i --production\n$ npm run assets\n$ npm start\n$ npm stop\n```\n\n### npm scripts\n\n- Use `npm run lint` to check code style.\n- Use `npm test` to run unit test.\n- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.\n\n### Tutorials\n\n- [Develop / Deploy with Docker](tutorials/Docker.md)\n\n[egg]: https://eggjs.org\n","permissions":{"read":true,"write":false,"admin":false},"media_types":["application/vnd.docker.container.image.v1+json"],"content_types":["image"],"categories":[],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":247993603,"source":null}