A grunt-init template for grunt-nautilus projects.
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, version
~0.5. Run the following command from your project's root:
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:squarespace --project "Firefly"
If you are not using a default template, you will answer a series of prompts so grunt-nautilus can make magic happen:
- What is the path to your public directory?
- What is the path to your js directory?
- What is the path to your css directory?
- What is the path to your sass directory?
- What is the path to your images directory?
- What is the path to your fonts directory?
This creates the following files in the cwd:
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.