The goal of this project is to provide a working example of combining:
- ember-cli
- ember-data
- ember-cli-cordova
- ember-sync
- ember-indexeddb-adapter
- ember-localstorage-adapter
- ember-list-view
Some day...
- ember-data -> epf
- make a tutorial or blog
Uncomment different sections of ember/app/adapters/application.js
and ember/app/serializers/application.js
to switch between REST, IndexedDB and Local Storage.
You will need the following things properly installed on your computer.
Build for Cordova following the instructions at
- https://github.com/poetic/ember-cli-cordova
- Set your backend host with ENV.serverHost in the ember/config/environment.js file
git clone <repository-url>
this repositorycd ember-cli-example
bundle install
rake db:migrate db:setup
cd ember
npm install
bower install
- `cd into root project directory'
rails s
new terminal window
cd into ember directory
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.
- ember: http://emberjs.com/
- ember-cli: http://www.ember-cli.com/
- broccoli-manifest: https://www.npmjs.org/package/broccoli-manifest
- Development Browser Extensions