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