dbollinger / ember-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status-tracker

This README outlines the details of collaborating on this Ember application.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd status-tracker
  • npm install

Running / Development

There are two ways to run the application during development. Use the Mirage development server for rapid development or to test API changes that may not yet be finalized. Alternatively, you may proxy the ember server to the Express server back-end for a more integrated development experience.

Mirage server

The mirage server creates a front end focused environment with support for acceptance tests, allowing contributors to develop without running their code against a "real" server.

Express server

The ember server can also be proxied to a live server, including the provided express server, which by default runs on port 3000.

  • Start the ember application server and proxy it to whatever port your server is running on: ember serve --proxy="http://localhost:3000"
  • Visit your app at http://localhost:4200/transfers.

See the express-server readme for more details.

Code Generators

Make use of the many generators for code, try ember help generate for more details

Tests

Running Tests

  • npm run test runs ember test suite and linting test suite
  • ember test runs ember test suite
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Further Reading / Useful Links

About


Languages

Language:JavaScript 87.3%Language:Handlebars 4.6%Language:HTML 4.2%Language:CSS 3.3%Language:Pug 0.6%