A base for start and deploy a project using Grunt: The JavaScript Task Runner
JavaScript CSS
Latest commit d9b3815 May 23, 2014 @vagnervjs Modules versions
Failed to load latest commit information.
src Add imageoptim task May 23, 2014
.gitignore Gruntfile & gitignore adjusts May 23, 2014
Gruntfile.js Gruntfile & gitignore adjusts May 23, 2014
README.md Update README.md Aug 9, 2013
package.json Modules versions May 23, 2014


Grunt Boilerplate

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

Getting Started

  • 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 dependencies
$ sudo npm install
  • Change package.json file adding your project's 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


Code is under MIT license © Vagner Santana.