Grunt / Gulp: how do I make it work, is there a good resourc

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Grunt / Gulp: how do I make it work, is there a good res

Post by simonmlewis »

So to start over - where do I install Gulp? Does it go into xampp, phpmyadmin, or into each project?
Or does it go into phpmyadmin, and then each project has a gulpfile.js file?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Grunt / Gulp: how do I make it work, is there a good res

Post by Celauran »

It gets installed as a Node module, wherever Node is installed. %AppPath%\npm\node_modules, I believe. That's not terribly important. As I have already stated, the gulpfile is your project's configuration, and it is project-specific. For instance, I have node in /usr/local/bin/node, gulp in /usr/local/lib/node_modules/gulp/bin/gulp.js, and gulpfiles in /Users/Me/Sites/[Project Name]/gulpfile.js
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Grunt / Gulp: how do I make it work, is there a good res

Post by simonmlewis »

Cool. So the actual Gulp install, doesn't go in the project folder. That gets installed just the once, and the gulpfile.js is the one that has a file per project.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply