This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd ranger-clubhouse-web
npm install
-
Make sure the API server is running, see ranger-clubhouse-api/README.md
-
Start the Clubhouse
npm start
-
Visit the Clubhouse at http://localhost:4200.
-
Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
The API endpoint is specified in app/config/environment.js
For the development environment this is http://localhost:8000/
Make use of the many generators for code, try ember help generate
for more details
ember test
runs all tests once, launching and quitting a browserember test --filter=unit
runs all tests whose module declaration includes “unit”ember test --server
runs tests when changes are made- Visiting http://localhost:4200/tests in a browser will run tests (optionally filtered) when changes are made to any code or test
Ember uses QUnit for tests. qunit-dom is included in the testing framework to provide higher level assertions for QUnit.
ember-cli-custom-assertions](https://github.com/dockyard/ember-cli-custom-assertions) has been included by the Ranger Tech Team so custom assertions can be used. Look at the [tests/assertions] directory to see what custom assertions are available.
npm run lint:hbs
npm run lint:js
npm run lint:js -- --fix
ember build
(development)ember build --environment production
(production)
TODO
- ember.js
- ember-cli
- Development Browser Extensions
- ember inspector for chrome
- ember inspector for firefox