Skip to content

Instantly share code, notes, and snippets.

@wwwbruno
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save wwwbruno/4bce3079bc1e3fcdf252 to your computer and use it in GitHub Desktop.

Select an option

Save wwwbruno/4bce3079bc1e3fcdf252 to your computer and use it in GitHub Desktop.
Simple way to use gulp
# 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