Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 2.83 KB

README.md

File metadata and controls

100 lines (67 loc) · 2.83 KB

Screwdriver UI

Version Downloads Build Status Open Issues License

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 [email protected]:screwdriver-cd/ui.git
$ cd ui/          # change into the new directory
$ npm install

Running / Development

Code Generators

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

Local config

Put local app settings at config/local.js Settings at this file will be merged with environment settings at config/environment.js

'use strict';

const SDAPI_HOSTNAME = 'http://1.142.1.106:9001';
const SDSTORE_HOSTNAME = 'http://1.142.1.106:9002';

const APP_CONFIG = {
  SDAPI_HOSTNAME,
  SDSTORE_HOSTNAME
};

module.exports = APP_CONFIG;

Run app

  • ember serve

Visit your app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

To run a single ember test:

  • ember t -s -m '<TEST_NAME>' // e.g. ember t -s -m 'Integration | Component | pipeline options'

To see coverage results, run:

  • open coverage/lcov-report/index.html

Linting

  • npm run lint
  • npm run lint:fix

Building

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

Code Generators

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

Further Reading / Useful Links

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.