create local frontend development envoirment

1)  Download nodejs and install https://nodejs.org/en/, on Mac, it will install Node.js and npm to /usr/local

screen-shot-2016-09-09-at-12-26-25-pm

2) install gulp

https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md

screen-shot-2016-09-09-at-12-29-29-pm

3) install bower

https://bower.io/

screen-shot-2016-09-09-at-12-32-54-pm

 

AH01630: client denied by server configuration for apache 2.4

 

If you are using Apache 2.4

You have to check allow and deny rules

Check out http://httpd.apache.org/docs/2.4/upgrading.html#access

In 2.2, access control based on client hostname, IP address, and other characteristics of client requests was done using the directives Order, Allow, Deny, and Satisfy.

In 2.4, such access control is done in the same way as other authorization checks, using the new module mod_authz_host.

 

2.2 configuration:

Order allow,deny
Allow from all

2.4 configuration:

Require all granted

 

<Directory /path/to/document_root>

Require all granted

</Directory>

For new XAMPP, the apache is 2.4, so when adding new VirtualHost, need to change as above