A base for start and deploy a project using Grunt: The JavaScript Task Runner
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Gruntfile.js
README.md
package.json

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.