Scaffold out a King of App Service.
npm install generator-koapp-service!Koa-logo
> Scaffold out a King of App service
First, install Yeoman and generator-koapp-service using npm (we assume you have pre-installed node.js).
``bash`
npm install -g yo
npm install -g gulp
npm install -g generator-koapp-service
Generate your new service:
`bash`
yo koapp-service serviceName
Optionally, you can include the following flags:
* -u authorName-w authorHomepage
* -s spanishDescription
* -e englishDescription
* -p price
* -l license
* -c categories
* separated by comma
Then start your new service:
`bash`
cd {Project-name} && gulp
Main Tasks
- gulp It runs watch-config, watch-bower, watch-documentationgulp distribution
- It runs dist-zip
All Tasks
- gulp jsdoc It creates JsDoc documentation.gulp watch-documentation
- It is monitoring for changes in documentation, also it will update config.json
Please open an issue with your suggestion/question.
If you want to improve the code, please follow these steps and submit a pull request.
- Download
`bash`
git clone https://github.com/KingofApp/generator-koapp-service.git && cd generator-koapp-service
- Install all dependencies
`bash`
npm install
- Added to local NPM
`bash`
npm link
- Execute it
`bash`
yo
- Test your changes ;-)
`bash``
npm test
MIT © King of App