Skip to content

Instantly share code, notes, and snippets.

@faridiot
Last active July 15, 2016 15:52
Show Gist options
  • Save faridiot/e40ff264775c0b848b512ec0542fcfb4 to your computer and use it in GitHub Desktop.
Save faridiot/e40ff264775c0b848b512ec0542fcfb4 to your computer and use it in GitHub Desktop.

Getting Started

The quickest way to get started is with the basic CSS download. You can get versions with every component, essential ones only, or a custom build.

If you're a Sass user, we have two starter project templates, the Basic Template and the ZURB Template. You can install them by manually downloading them from GitHub, or using the Foundation CLI.

Lastly, if you're rolling your own setup, you can install Foundation through a variety of package managers.

Documentation

The documentation can be found at https://foundation.zurb.com/sites/docs. To run the documentation locally on your machine, you need Node.js and Ruby installed on your computer. (Your Node.js version must be 0.12 or higher.)

Run these commands to set up the documentation:

git clone https://github.com/zurb/foundation-sites
cd foundation-sites
gem install scss-lint
npm install

Then run npm start to compile the documentation. When it finishes, a new browser window will open pointing to a BrowserSync server displaying the documentation.

Testing

Foundation has three kinds of tests: JavaScript, Sass, and visual regression. Refer to our testing guide for more details.

These commands will run the various tests:

  • npm run test:sass
  • npm run test:javascript
  • npm run test:visual

Contributing

Check out our contributing guide to learn how you can contribute to Foundation. You can also browse the Help Wanted tag in our issue tracker to find things to do.

Copyright (c) 2016 ZURB, inc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment