Sample angular.js + node.js application
- MongoDB - Download and Install MongoDB - If you plan on scaffolding your project with mongoose, you'll need mongoDB to be installed.
Install Dependencies
npm install && bower installLaunch your express server in development mode.
grunt serveLaunch your express server in debug-brk mode with a node-inspector tab.
grunt serve:debugLaunch your express server in production mode, uses the minified/optimized production folder.
grunt serve:distgrunt serve will watch client files in app/, and server files inside lib/, restarting the Express server when a change is detected.
To generate a dist folder that can easily be deployed use:
gruntThis will run unit tests, jshint, concatenate and minify scripts/css, compress images, add css vendor prefixes, and finally copy all files to a tidy dist folder.
Alternatively to skip tests and jshint, use:
grunt build