Last active
August 29, 2015 14:05
-
-
Save wwwbruno/4bce3079bc1e3fcdf252 to your computer and use it in GitHub Desktop.
Simple way to use gulp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install npm | |
| sudo apt-get install npm | |
| # install gulp globally | |
| sudo npm install -g gulp | |
| # go to your project directory | |
| cd project | |
| # install gulp dependencies for your dev project | |
| npm install gulp | |
| # create the gulpfile.js at the root of your project with the following content | |
| var gulp = require('gulp'); | |
| gulp.task('default', function() { | |
| // place code for your default task here | |
| }); | |
| # run gulp (for now this task will run nothing) | |
| gulp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment