https://github.com/pglevy/sfteacher
https://github.com/pglevy/sfteacher
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pglevy/sfteacher
- Owner: pglevy
- Created: 2016-06-07T10:27:04.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-09T13:16:52.000Z (about 10 years ago)
- Last Synced: 2025-05-15T13:51:33.232Z (about 1 year ago)
- Language: JavaScript
- Size: 530 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Foundation for Apps Template
[](https://david-dm.org/zurb/foundation-apps-template#info=devDependencies)
This is the default template project for Foundation for Apps, powered by Gulp, Angular, and libsass. It provides you with a basic template to get started with Foundation for Apps and Angular.
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`
## Requirements
You'll need the following software installed to get started.
- [Node.js](http://nodejs.org): Use the installer for your OS.
- [Git](http://git-scm.com/downloads): Use the installer for your OS.
- Windows users can also try [Git for Windows](http://git-for-windows.github.io/).
- [Gulp](http://gulpjs.com/) and [Bower](http://bower.io): Run `npm install -g gulp bower`
- Depending on how Node is configured on your machine, you may need to run `sudo npm install -g gulp bower` instead, if you get an error with the first command.
## Get Started
Clone this repository, where `app` is the name of your app.
```bash
git clone https://github.com/zurb/foundation-apps-template.git app
```
Change into the directory.
```bash
cd app
```
Install the dependencies. If you're running Mac OS or Linux, you may need to run `sudo npm install` instead, depending on how your machine is configured.
```bash
npm install
bower install
```
While you're working on your project, run:
```bash
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.** When you change any file in the `client` folder, the appropriate Gulp task will run to build new files.
To run the compiling process once, without watching any files, use the `build` command.
```bash
npm start build
```