Skip to content

basic template for creating a html file with a watch function and a jshint function

Notifications You must be signed in to change notification settings

alburhassan/grunt-init-basic-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#grunt-init-basic-html

A basic grunt-init template for creating a html file with a watch (live reload) function and a jshint function. Also prompts the user for other files such as the css file and the javascript file along with a option to install ftppush and inject jquery,bootstrap and mustache.

##Installation

If you havent done so u will need to install node ,npm ,grunt and grunt init.

npm and node can be installed through:

http://nodejs.org/download/

Information to install grunt can be found on

http://gruntjs.com/getting-started

Next you will have to install grunt-init globally.Run the below line in the command line/terminal.

npm install -g grunt-init

Once grunt-init is installed, place this template in your ~/.grunt-init/ directory. It's recommended that you use git to clone this template into that directory, as follows:

git clone https://github.com/gruntjs/grunt-init-basic-html.git ~/.grunt-init/basic-html

(Windows users, see the documentation for the correct destination directory path)

##Using grunt-init-basic-html

In order to initalize the template enterthe following in your command line/terminal:

grunt-init basic-html

The console will then prompt you some questions required to create your project file. after which it will write the files to the folder.

About

basic template for creating a html file with a watch function and a jshint function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published