Tuesday, 24 November 2015

Building the Development Environment for Laravel

* Download and install the latest Composer

 Once installed, check the version by typing:
                $ composer -V

* Download and install the latest Laravel
$ composer global require "laravel/installer=~1.1"

* Install the NodeJS (globally)
                Go to the NodeJS website and download the stable version.


                Direct Link: https://nodejs.org/dist/v5.1.0/node-v5.1.0-x64.msi
                Then, Run the app with all default setting.
                And, Restart the machine.

                To check the NodeJs version:
                $ npm -v

* Download and install the latest Gulp (globally)
$ npm install -g gulp

Now, let’s install the Gulp into project dependency.

Create a package.json (if it is not already exist):
$ vi package.json 

* To install Bower
Bower is a command line utility. Install it with npm.
Bower requires node, npm and git.

$ npm install -g bower

To install Angular Material

                $ bower install  angular-material --save

(--save) will save the package on vendor directory.

No comments:

Post a Comment

Please post any queries and comments here.