Skip to content

Latest commit

 

History

History
executable file
·
49 lines (36 loc) · 1.81 KB

README.md

File metadata and controls

executable file
·
49 lines (36 loc) · 1.81 KB

Foundation Grunt Boilerplate

This template is a launch pad for responsive websites. It fulfills the following requirements:

Prerequisites

Updating

Node.js

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

(see http://davidwalsh.name/upgrade-nodejs)

npm

sudo npm install -g npm

Installation

sudo ./init.sh
  • installs Node modules (e.g., grunt-cli, bower, ...)
  • installs Bower dependencies and copies the relevant ones to src/

Usage

  • grunt dev - makes a build and starts a livereload server (http://localhost:4000)
  • grunt prod - makes a production ready build (minifies JS & CSS)
  • edit "package.json" or "bower.json" if you want to update Node modules or the Foundation version and run then sudo ./init.sh

Settings

  • Google Analytics - Within 'src/data/data.json' you can define the tracking ID
  • Add additional variables in data.json (e.g., phone numbers as "office_phone": "1234") to reuse them easily within the HTML snippets {{office_number}}, see http://assemble.io/docs/Data.htm