Skip to content

A sample TodoMVC app written in Ember 2.x. Based on Ember 1.10 TodoMVC guides.

License

Notifications You must be signed in to change notification settings

jgoclawski/ember-tutorial

Repository files navigation

TodoMVC - example Ember 2.x app

This is the popular "TodoMVC" application, based on Ember 1.10 excellent guide, ported to Ember 2.x. Unfortunately the original guide has never been updated for Ember 2.x and the original guide is mostly inaccurate for newest Ember.

Prerequisites

This app is best run using Docker and docker-compose:

You can still use it without them, in which case you need a few system-wide dependencies:

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • docker-compose build

Running / Development

Ember-cli commands

If you want to run an ember-cli command, you need to write it like this:

docker-compose run todo [ember-cli command]

For example: docker-compose run todo ember help.

It gets nasty when using ember generate as generated files are owned by root. You need to run an additional sudo chown -R $USER:$USER . afterwards.

There is a helper script for that and it can fix file permissions if needed:

./ember-cli [ember-cli command]

For example: ./ember-cli help.

Code Generators

Make use of the many generators for code, try ./ember-cli help generate for more details.

Running Tests

  • ./ember-cli ember test
  • ./ember-cli ember test --server

Further Reading / Useful Links

About

A sample TodoMVC app written in Ember 2.x. Based on Ember 1.10 TodoMVC guides.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published