The original requirements and files are put into the original directory.
- Yarn
- Clone or unzip the repo
yarn install
Start the server:
yarn server
Visit http://localhost:3000 in a browser
This application is written using a TDD approach. Therefore it is important to insure that when changes are being made, suitable tests are created and/or modified. A test runner can be started to listen for changes and re-run the test suite when changes occur.
Server is written using Express and Node.js.
yarn server-watch
This will run through the test suite and if all green will start the server.
To run the server in development mode (un-bundled) use:
yarn server-start
Client is written using Ember.js and Ember-Cli.
yarn client-watch
This will run through the test suite. By default the tests are run again both PhantoJs and Chrome.
yarn client-coverage
This will produce test coverage reports in HTML, they can be viewed in directory client/coverage
yarn client-build
This will produce bundled, "babelized" and minified distrubutable scripts in server/assets
, these files will be served statically by server.
To run the client in development mode (un-bundled) use:
yarn client-start
This will spin up a liveload server with port 4200.