MyApp Angular is a boilerplate setup for angular projects
- Install
node4.0 or later andnpmfor package management - From the root directory run
npm install - For convenience, install the node module
gulpglobally:npm install -g gulp
If you run into issues with dependencies, start by running npm cache clean and removing the node_modules directory in between attempts.
The commands are defined in the scripts block in package.json.
npm installto installnpm startto build and servenpm testto run the unit tests
The commands mostly point to gulp tasks, which you can run directly
if you have installed gulp globally.
gulporgulp serveto run default task for linting, building and live reloading.gulp build:productionto build an optimized version of your application in/buildgulp testto launch your unit tests with Karmagulp test:tddto run and auto-watch your unit tests with Karma
The build process puts files into the build directory, from which they should be moved to a location where they can be served from the context root /build.