Scaffold out a King of App theme
npm install generator-koapp-theme> Scaffold out a King of App Theme
For C9.io users, follow this instructions
First, install Yeoman and generator-koapp-theme using npm (we assume you have pre-installed node.js).
``bash`
npm install -g yo
npm install -g gulp
npm install -g generator-koapp-theme
Generate your new theme:
`bash`
yo koapp-theme themeName
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 theme:
`bash`
cd {Project-name} && gulp
``
git clone -b dev https://git@github.com/KingofApp/com.kingofapp.visualizer.git
- gulp It runs watch-config, watch-bowergulp distribution
- It runs dist-zip
All Tasks
- gulp lint Linter for your code.gulp e2e
- It runs integration test with Protractor.gulp dist-zip
- It generates a compression file ready to uploadgulp watch-bower
- It's monitoring for changes in bower.json.gulp watch-config
- It's monitoring for changes in config.json, also it will update a../../app/core/structure.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-theme.git && cd generator-koapp-theme
- Install all dependencies
`bash`
npm install
- Added to local NPM
`bash`
npm link
- Execute it
`bash`
yo koapp-theme themeName
- Test your changes ;-)
`bash``
npm test
MIT © King of App