What is this?
This is a yeoman generator. A generator is basically a plugin that can be run with the
yo command to scaffold complete projects or useful parts.
This generator generates fresh, new Kona apps, controllers, scaffolds, views and other stuff.
If you don't have yeoman installed, install it globally via npm:
npm install -g yo
Then you'll need this generator-kona generator globally so yeoman can find it:
npm install -g generator-kona
Now you're all set! You can now use
yo to generate kona applications or controllers, views, and scaffolds
for your kona apps! See Generators below for the available generators.
A Kona app:
yo kona myNewApp
yo kona:controller books [optional actions to create
A scaffold (controller, resource route, views):
yo kona:scaffold user follow unfollow
[A] app/controllers/user-controller.js [A] app/views/user/add.html [A] app/views/user/edit.html [A] app/views/user/index.html [A] app/views/user/show.html [M] app/config/routes.js