1.0.3 • Published 8 years ago
angular-boilerplate-cli v1.0.3
AngularJS Boilerplate NodeJS Based CLI - MVC and Jasmin and Karma Unit Testcases
Installation -
Using NPM -
npm install -g angular-boilerplate-cli
Using Git -
- Download/Clone this git repository into the local machin and keep this folder into a safe place.
- Open cmd or Terminal app and go to this directry using
cdcommand - Run
npm install. This will install the dependencies. - Run
npm link. This will set theboilerplatecommand into the Path so thatboilerplatecommand can be accessed anywhere from cmd or Terminal app.
Usage -
- Create a directoy
mkdir AwesomeProject - Initialize the app
boilerplate initand provide the required information like ng-app module name etc. - Add controller using
boilerplate controller add. This will create the controller into src/app folder. - Similary
factory, directives, filtersandservicescan be created - For help try the command
boilerplate help.
Folder Structure -
Refer the example folder in this directory for the folder structure.
