Skip to content

wahapo/ui

 
 

Repository files navigation

Screwdriver UI

Version Downloads Build Status Open Issues Dependency Status 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 git@github.com: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:hbs
  • npm run lint:js
  • npm run lint:js -- --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.

Packages

No packages published

Languages

  • JavaScript 82.2%
  • HTML 10.6%
  • CSS 7.0%
  • Other 0.2%