1.2.0 • Published 5 years ago

generator-ec.dynamic-website v1.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

generator-ec.dynamic-website NPM version Build Status Dependency Status

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-website

Then generate your new project:

mkdir myproject
cd myproject
yo ec.dynamic-website

Getting 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 justCopy Array 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 templatedCopy 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, npm link the module, you can then use it in yo
  • don't forget to npm publish new versions

License

MIT © entrecode GmbH

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago