Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A base for start and deploy a project using Grunt: The JavaScript Task Runner
JavaScript CSS
branch: master
Failed to load latest commit information.
src Add imageoptim task
.gitignore Gruntfile & gitignore adjusts
Gruntfile.js Gruntfile & gitignore adjusts
README.md Update README.md
package.json Modules versions

README.md

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

License

Code is under MIT license © Vagner Santana.

Something went wrong with that request. Please try again.