A generator for a visual cms dynamic website for ec.render. By entrecode.
npm install generator-ec.dynamic-websiteFirst, install Yeoman and generator-ec.dynamic-website using npm (we assume you have pre-installed node.js).
``bash`
npm install -g yo
npm install -g generator-ec.dynamic-website
Then generate your new project:
`bash`
mkdir myproject
cd myproject
yo ec.dynamic-website
* Yeoman has a heart of gold.
* Yeoman is a person with feelings and opinions, but is very easy to work with.
* Yeoman can be too opinionated at times but is easily convinced not to be.
* Feel free to learn more about Yeoman.
- setup script is in /generators/app/index.js/generators/app/templates
- the seed project is in justCopy
- files that can simply be copied can be listed in the Array in the setup script<%= name %>
- You can fill in data requested by the generator with EJS, e.g. .templatedCopy
- files that need to be run through the template engine have to be listed in the npm link
Array in the setup script
- You can ask the user for additional data by adding a prompt in the setup script
(uses Inquirer.js)
- don't forget to run the tests
- for local development, the module, you can then use it in yonpm publish` new versions
- don't forget to
MIT © entrecode GmbH
[npm-image]: https://badge.fury.io/js/generator-ec.dynamic-website.svg
[npm-url]: https://npmjs.org/package/generator-ec.dynamic-website
[travis-image]: https://travis-ci.org/entrecode/generator-ec.dynamic-website.svg?branch=master
[travis-url]: https://travis-ci.org/entrecode/generator-ec.dynamic-website
[daviddm-image]: https://david-dm.org/entrecode/generator-ec.dynamic-website.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/entrecode/generator-ec.dynamic-website