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.
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:
git clone <repository-url>
this repository- change into the new directory
docker-compose build
docker-compose up todo
- visit your app at http://localhost:4200.
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
.
Make use of the many generators for code,
try ./ember-cli help generate
for more details.
./ember-cli ember test
./ember-cli ember test --server