ui
ui copied to clipboard
Screwdriver UI
Screwdriver UI
This README outlines the details of collaborating on this Ember application.
Prerequisites
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
Installation
$ git clone [email protected]:screwdriver-cd/ui.git
$ cd ui/ # change into the new directory
$ npm install
Running / Development
ember serve- Visit your app at http://localhost:4200.
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 testember 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 lintnpm 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.