https://github.com/zurb/cardpack
A collection of Badass Foundation Flex Cards
https://github.com/zurb/cardpack
Last synced: 5 months ago
JSON representation
A collection of Badass Foundation Flex Cards
- Host: GitHub
- URL: https://github.com/zurb/cardpack
- Owner: zurb
- Created: 2017-01-30T05:25:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T17:30:27.000Z (over 9 years ago)
- Last Synced: 2025-05-13T14:36:12.880Z (about 1 year ago)
- Language: HTML
- Size: 42 KB
- Stars: 3
- Watchers: 14
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ZURB Template
[](https://david-dm.org/zurb/foundation-zurb-template#info=devDependencies)
**Please open all issues with this template on the main [Foundation for Sites](https://github.com/zurb/foundation-sites/issues) repo.**
This is the official ZURB Template for use with [Foundation for Sites](http://foundation.zurb.com/sites). We use this template at ZURB to deliver static code to our clients. It has a Gulp-powered build system with these features:
- Handlebars HTML templates with Panini
- Sass compilation and prefixing
- JavaScript concatenation
- Built-in BrowserSync server
- For production builds:
- CSS compression
- JavaScript compression
- Image compression
## Installation
To use this template, your computer needs:
- [NodeJS](https://nodejs.org/en/) (0.12 or greater)
- [Git](https://git-scm.com/)
This template can be installed with the Foundation CLI, or downloaded and set up manually.
### Using the CLI
Install the Foundation CLI with this command:
```bash
npm install foundation-cli --global
```
Use this command to set up a blank Foundation for Sites project with this template:
```bash
foundation new --framework sites --template zurb
```
The CLI will prompt you to give your project a name. The template will be downloaded into a folder with this name.
### Manual Setup
To manually set up the template, first download it with Git:
```bash
git clone https://github.com/zurb/foundation-zurb-template projectname
```
Then open the folder in your command line, and install the needed dependencies:
```bash
cd projectname
npm install
bower install
```
Finally, run `npm start` to run Gulp. Your finished site will be created in a folder called `dist`, viewable at this URL:
```
http://localhost:8000
```
To create compressed, production-ready assets, run `npm run build`.
# cardpack