• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    JavaScript
  • License
    ISC License
  • Created almost 13 years ago
  • Updated almost 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ember Skeleton

A skeleton application framework using Ember.js and Rake Pipeline.

Running

$ bundle install
$ bundle exec rackup

App Structure

ember-skeleton
β”œβ”€β”€ Assetfile - App build file
β”œβ”€β”€ Gemfile - Package dependencies for rakep/rack
β”œβ”€β”€ Gemfile.lock - Here be dragons: don't touch, always include
β”œβ”€β”€ app - App specific code
β”‚   β”œβ”€β”€ css - App CSS or SCSS (.scss)
β”‚   β”œβ”€β”€ lib - App code, *modularized during build*
β”‚   β”œβ”€β”€ modules - Module code, *already modularized*
β”‚   β”œβ”€β”€ plugins - Plugins (e.g. jquery.jsonrpc.js)
β”‚   β”‚   └── loader.js - JS module loader
β”‚   β”œβ”€β”€ static - Static files, never touched, copied over during build
β”‚   β”œβ”€β”€ templates - Handlebars templates, *modularized during build*
β”‚   β”œβ”€β”€ tests - QUnit application tests
β”‚   └── vendor - Vendor code, *modularized during build*
β”œβ”€β”€ assets - Built out asset files, minified in production
β”‚   β”œβ”€β”€ app.css - Built out app CSS/SCSS
β”‚   β”œβ”€β”€ app.js - Built out app JS
β”‚   └── loader.js - Built out JS module loader
β”œβ”€β”€ config.ru - Rack development web server configuration
β”œβ”€β”€ index.html - The app entry point
β”œβ”€β”€ tests - QUnit testing files
β”‚   β”œβ”€β”€ index.html - The testing entry point
β”‚   β”œβ”€β”€ qunit - Testing support files
β”‚   └── run-tests.js - The PhantomJS QUnit test runner
└── tmp - Temporary build files used by rakep

Testing

You can test the app by invoking:

$ bundle exec rake test

This executes the tests by using PhantomJS, which you need to have installed.

Or you can run the tests via:

$ bundle exec rackup
$ open http://localhost:9292/tests/index.html

If you want to continuously run the tests every time a file changes, invoke:

$ bundle exec guard