A little example that pulls lineman & ember together.
If you haven't already done so, first: install node.js; next, install lineman:
$ npm install -g lineman
To work from this example, just clone into it and run:
$ npm install
$ lineman run
And then visit the page at localhost:8000 to verify that it works.
To run the tests, you can do one of two things:
-
In one terminal run
lineman run
and (with it still running) runlineman spec
, which will launch chrome and an ongoing interactive session with testem. -
For a one-shot test run, first have phantomjs installed (brew install phantomjs) and then run
lineman spec-ci
which will run the tests headlessly