generator-ec.dynamic-website

1.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i generator-ec.dynamic-website

Homepage

entrecode.de

Weekly Downloads

3

Version

1.2.0

License

MIT

Unpacked Size

25.8 kB

Total Files

27

Last publish

Collaborators

  • scherzinger
  • deyhle
  • ehlerskon