Skip to content

grundm/foundation-grunt-plate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Boilerplate to start web development with Foundation and Grunt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published