AngularJS Version
Contents
Installation
To run AngularJS Gulp Version you will have to install following components in your environment.
- Node.js: https://nodejs.org/en/
- npm: https://npmjs.com
- Gulp: http://gulpjs.com
- Bower: https://bower.io
Installing Node.js and updating npm
Installing Node.js
If you’re using OS X or Windows, the best way to install Node.js is to use one of the installers from the Node.js download page. If you’re using Linux, you can use the installer, or you can check NodeSource’s binary distributions to see whether or not there’s a more recent version that works with your system.
Test:
$ node -vThe version should be higher than v0.10.32.
Updating npm
Node comes with npm installed so you should have a version of npm. However, npm gets updated more frequently than Node does, so you’ll want to make sure it’s the latest version.
$ npm install npm@latest -gTest:
$ npm -vThe version should be higher than 2.1.8.
Installing Gulp and project dependencies
$ npm installInstalling Bower and 3rd party plugins & components
Bower is a command line utility. Install it with npm.
Install Bower
$ npm install -g bowerInstall 3rd party plugins & components
$ bower installRun project
Go to project directory
$ cd Angular_Full_Project_GULPor
$ cd Angular_Starter_GULPStart local server and Gulp scripts
$ gulp serveYour project is ready. Go to following url http://localhost:3000.