A little example that pullslineman&embertogether.
If you haven't already done so, first: installnode.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 atlocalhost:8000to 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