You'll need to have the following items installed before continuing.
- Node.js: Use the installer provided on the NodeJS website.
- Grunt: Run
[sudo] npm install -g grunt-cli
- Bower: Run
[sudo] npm install -g bower
Install the dependencies
git clone git@github.com:zurb/foundation-libsass-template.git
npm install && bower install
While you're working on your project, run the following in separate tabs:
grunt
sass --watch scss:css
python -m SimpleHTTPServer 8000
And you're set!
scss/_settings.scss
: Foundation configuration settings go in herescss/app.scss
: Application styles go here
Run grunt handlebars
. This will output the templates to the handlebars-templates.js
. Be sure to add handlebars-templates.js to the production version of the site!
Running a simple python server python -m SimpleHTTPServer 8000
in the repo will get everything up and running even though the URLS are live in app.js.