node package manager

grunt-bp

A base to start and deploy your project usign grunt

Grunt Boilerplate

A base to start and deploy your project usign Grunt: The JavaScript Task Runner


  • First, you need to have Node.JS and NPM installed

  • Clone Grunt Boilerplate

$ git clone https://github.com/vagnervjs/grunt-boilerplate.git
  • Enter in the folder
$ cd grunt-boilerplate
  • Install dependences
$ sudo npm install
  • Change packge.json file adding your project info

  • Change the deploy remote host (if you want to deploy)

deploylive: {
src: './dist/',
dest: '/var/www/yourproject',
host: 'root@yourhost',
recursive: true,
syncDest: true
}
  • Customize and add grunt tasks for your needs

  • When everything is ok, just run

$ sudo grunt