Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

zappajs, emberjs, brunch, websockets... not working yet!

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 generators
Octocat-spinner-32 server
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 _server.coffee
Octocat-spinner-32 config.coffee
Octocat-spinner-32 notes.md
Octocat-spinner-32 package.json
Octocat-spinner-32 server.coffee
README.md

Brunch with Ember

This is a simple ember skeleton for Brunch with working and up to date handlebars pre-compilng :)

Getting started

Clone the repo and run npm install & brunch build. See more info on the official site

Usage

git clone git://github.com/icholy/ember-brunch.git -b coffee
brunch new myapp -s ./ember-brunch/

origin/coffee

Overview

config.coffee
server.coffee
package.json
README.md
/app/
  assets/
    index.html
    img/
      glyphicons-halflings-white.png
      glyphicons-halflings.png
  styles/
  templates/
  models/
  views/
  controllers/
  templates.coffee
  models.coffee
  views.coffee
  controllers.coffee
  app.coffee
  initialize.coffee
/vendor/
  scripts/
    jquery.js
    console-helper.js
    ember-latest.js
    ember-data-latest.js
    handlebars-1.0.0.beta.6.js
    bootstrap.js
  styles/
    bootstrap.css
/public/
  img/
  stylesheets/
  javascripts/
/test/
  spec.coffee
/generators/
  model.coffee
  view.coffee
  controller.coffee
  • config.coffee contains your app configuration. This is where you configure what Plugins / Languages to use and what rules are applied to them.
  • app/ and subdirectories (excluding app/assets) contains files that are to be compiled. Javascript files, or files that compile to JS (coffeescript, roy etc.), are automatically wrapped as commonjs style modules so they can be loaded via require('module/location').
  • app/assets contains images / static files. The contents of the directory are copied to public/ without any modification.
  • app/templates.coffee, app/models.coffee, app/views.coffee, and app/controllers.coffee are loaded in initialize.coffee and are responsible for loading their respective classes.
  • test/ contains unit tests.
  • vendor/ contains all third-party code. The code wouldn’t be wrapped in modules, it would be loaded instantly instead.

The generated output is placed in the public/ (by default) directory when brunch build or brunch watch is executed.

Other

Software Versions used:

  • jQuery 1.7.2
  • Ember latest (master)
  • Bootstrap 2.0.4
Something went wrong with that request. Please try again.