BTC Ember 0.9.2
This is a project template for Ember.js applications. Visit the site for more information.
├── app # Assets/code/styles for the client application
│ ├── assets # Static files copied without modification
│ ├── components # Ember components
│ ├── controller # Ember controllers (regular, object, array)
│ ├── models # Objects that represent data for Ember
│ ├── routes # Ember routes
│ ├── styles # Stylus stylesheets
│ ├── templates # Handlebars templates and partials
│ │ └── components # Handlebars templates for Ember components
│ ├── views # Ember views
│ ├── app.styl # Application/page styling definition
│ ├── base.styl # Stylus variables and mixins for the application
│ ├── initialize.js # Bootstrap the application
│ ├── router.js # Define routes to map
│ └── view-helpers.js # User-defined Handlebars helpers
├── generators # Generators used by Scaffolt
├── jakelib # Unified set of tasks for development
├── public # Compiled client-side assets
├── server # Server configuration
│ ├── browser-sync.js # BrowserSync proxy setup
│ └── index.js # Starting point of server setup
├── test # Test-related files
│ ├── code # Code tests that run with Karma
│ ├── site # Site tests that run with WebDriverJS
│ ├── mocha.opts # Default options for site testing
│ └── setup.js # Initialization for site testing
├── vendor # Additional 3rd party JS/CSS libraries
├── .editorconfig # EditorConfig definitions for coding styles
├── bower.json # Listing for Bower dependencies to download
├── brunch-config.js # Brunch app build configuration
├── karma.conf.js # Karma runner setup
└── package.json # Node project dependencies and configuration
- Download and install the following if you have not already:
- Node.js
- Git
- Jake (if developing)
- Platform SDKs (if using Cordova)
- MongoDB or service (if using Serverpack)
- Download one of the starter projects from GitHub.
- Navigate to the project directory and run the command
npm install
.
One-line commands are provided for convenience as well for those that want to start running things as quickly as possible by installing depedencies automatically. Use npm start
to download non-development packages and run the build:prod
task. Use npm test
to download all packages and run both the test:install
and test:all
tasks.
A basic push state server serving static assets is included by default. You can expand/enhance the server as needed for services and to create a more ambitious application.
Handlebars templates are precompiled when building the application. In addition, the full development of Ember is used for dev
while the production version (no debug/assertion code) is used for prod
.
- BTC 0.10.4