This is the default template project for Foundation for Apps. It's powered by Node, Gulp, Angular, and libsass. It provides you with a basic template to get started with Angular and Foundation for Apps. If you're already an Angular developer, you may instead want to install the components into your own stack using Bower: bower install foundation-apps
You'll need the following software installed to get started.
- Node.js: Use the installer provided on the NodeJS website.
- Git: Use the installer for your OS.
- Windows users can also try Git for Windows.
- Ruby: Use the installer for your OS. For Windows users, JRuby is a popular alternative.
- With Ruby installed, run
gem install bundler sass
.
- With Ruby installed, run
- Gulp and Bower: Run
[sudo] npm install -g gulp bower
Clone this repository, where app
is the name of your app.
git clone https://github.com/zurb/foundation-apps-template.git app
Change into the directory.
cd app
Install the dependencies. Running npm install
will also automatically run bower install
after. If you're running Mac OS or Linux, you may need to run sudo npm install
instead, depending on how your machine is configured. Running bundle
will install the correct version of Sass for the template.
npm install
bower install
bundle
While you're working on your project, run:
npm start
This will compile the Sass and assemble your Angular app. Now go to localhost:8080
in your browser to see it in action.
To run the compiling process once, without watching any files:
npm start build