Angular application scaffolding

Description

A-Level Application, build, testing and deployment Note on Angular application scaffolding, created by James Drummond on 24/04/2015.
James Drummond
Note by James Drummond, updated more than 1 year ago
James Drummond
Created by James Drummond about 9 years ago
9
1

Resource summary

Page 1

1. Install HTML / Bootstrap boilerplate.2. Use 'npm init' to create package.json3. npm install bower -g4. Bower init to set up bower.json5. *** There are two ways of installing client side dependencies with Bower ***:- Bower install --save bootstrap . Installs bootstrap and jquery as project dependencies. (Saved in 'dependency' object of bower.json).- Bower install --save-dev angular-mocks. Installs module as development dependency. (Saved in 'devdependency' object of bower.json)6. npm install grunt --save-dev7. Create Gruntfile.js, see: http://gruntjs.com/sample-gruntfile- You will need to npm install --save-dev the various grunt plugins9. Install the karma npm package as well the karma cli package.- Install karma-jasmine plugin- Install karma phantomjs plugin- You can then run karma init to set up the karma.conf.json file.- Remember you need to install angular-mocks, etc. in order to run angular in a test environment.

Show full summary Hide full summary

Similar

Business Aims and ICT Strategies
scrt
Installation of ICT Systems
indysingh7285
Quality of Information
OnionWrangler
Types of ICT Systems
indysingh7285
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
Using GoConqr to teach French
Sarah Egan
Using GoConqr to teach science
Sarah Egan
Using GoConqr to study geography
Sarah Egan
Using GoConqr to study Economics
Sarah Egan
Using GoConqr to study English literature
Sarah Egan