A fully scaffolded boilerplate for rapid website development. Based on Angular.JS and Bootstrap. Utilizes NPM, Bower, Yeoman and Grunt.
You will need the following things properly installed on your computer. If they are already installed you can skip this section and go straight to installation.
Once Node.js is installed, open up terminal on Mac or command on PC and run the following commands:
npm install -g bower
- Installs Bowernpm install -g grunt-cli
- Installs Gruntnpm install -g yo
- Installs Yeoman
- Navigate to your projects folder
git clone https://github.com/JerrolKrause/ld-boilerplate-angular.git
- Clone repository to your local machineren ld-boilerplate-angular new-project-name
- Rename 'ld-boilerplate-angular' to your new project namecd new-project-name
- Change into the new directorynpm install && bower install
- Install app dependencies
grunt serve
- Start development server- Visit your app at http://localhost:9000/.
grunt
- Creates a production build of the website in the 'dist' folder.
Yeoman Scaffolding Documentation.
Quick Guide:
Route:
yo angular:route routeName
Controller
yo angular:controller controllerName
Directive
yo angular:directive directiveName
Filter
yo angular:filter filterName
View
yo angular:view viewName
Service
yo angular:service servicename