If you haven't already done so, install grunt-init.
Once grunt-init is installed, clone the grunt-init-gruntnautilus template into your
git clone https://github.com/kitajchuk/grunt-init-gruntnautilus.git ~/.grunt-init/gruntnautilus
If you already have grunt-init-gruntnautilus installed and need to update it, you can do the following:
cd ~/.grunt-init/gruntnautilusgit pull origin master
This init template is installing with the latest release of grunt-nautilus. Run the following command from your project's root, replacing "Firefly" with your project name:
grunt-init gruntnautilus --project "Firefly"
You can optionally use a default template and skip the prompts. The following pre-baked templates exist for these frameworks:
An example of using the middleman template:
grunt-init gruntnautilus:middleman --project "Firefly"
If you are not using a default template, you will answer a series of prompts so grunt-nautilus can make magic happen:
This creates the following files in the current working directory:
Now you can install the necessary packages:
# Node modulesnpm install
This will install grunt, grunt-nautilus and its peer packages as well as jquery and hammerjs.
Checkout the grunt-nautilus plugin to continue.