A new version of the repository is available here PSMRI/HWC-Inventory-UI
This project was generated with Angular CLI version 1.1.0-rc.0.
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.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.
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.
Run ng test to execute the unit tests via Karma.
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.
- 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.