bazzel / warranties

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warranties

This is an Ember front-end for Warranties API.

Prerequisites

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

Installation

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

Running / Development

Code Generators

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

Running Tests

  • ember test
  • 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)

Deploying

The application is setup to deploy to Amazon S3 and (currently) connects to a back-end hosted on Heroku.

To deploy to your own S3 bucket:

  • create and configure a bucket on Amazon S3 - Ember Screencasts has some good instructions on this.
  • copy env.example to .env
  • in .env, fill in your AWS access key, -secret, bucket and region
  • deploy with ember deploy production

Connect to your own back-end

The current application uses an API hosted on Heroku. The host name for this is defined in config/environment.js and can be replaced by your own.

Please consult Warranties API for more information.

Further Reading / Useful Links

About


Languages

Language:JavaScript 68.9%Language:HTML 26.9%Language:CSS 4.2%