1.2.0 • Published 6 years ago
generator-ec.dynamic-website v1.2.0
generator-ec.dynamic-website

A generator for a visual cms dynamic website for ec.render. By entrecode.
Installation
First, install Yeoman and generator-ec.dynamic-website using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-ec.dynamic-websiteThen generate your new project:
mkdir myproject
cd myproject
yo ec.dynamic-websiteGetting To Know Yeoman
- 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.
ec Development info
- setup script is in
/generators/app/index.js - the seed project is in
/generators/app/templates - files that can simply be copied can be listed in the
justCopyArray in the setup script - You can fill in data requested by the generator with EJS, e.g.
<%= name %>. - files that need to be run through the template engine have to be listed in the
templatedCopyArray 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,
npm linkthe module, you can then use it in yo - don't forget to
npm publishnew versions
License
MIT © entrecode GmbH