Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.5 KB

❗❗❗ NOTICE ❗❗❗

A new version of the repository is available here PSMRI/HWC-Inventory-UI

HWC-Inventory UI

This project was generated with Angular CLI version 1.1.0-rc.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:5000/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Building war files

  1. To build deployable war files
mvn -B package --file pom.xml -P <profile_name>

The available profiles include dev, local, test, and ci. Refer to src/environments/environment.ci.template file and ensure that the right environment varaibles are set for the build.

Packing with ci profile calls build-ci script in package.json. It creates a environment.ci.ts file with all environment variables used in the generared build.