This project was last tested with Angular CLI version 1.5.2.
Suggested development environment setup
- NPM >=5.0 (required to make use of the package-lock.json file)
- Node >=8.1
- Angular CLI >=1.5
- Typescript >=2.4
- Angular >=5.0
ng serve for a dev server. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
To run the server with a customised domain name (such as
http://rumpel.hat.org:4200), the name needs to be specified when
ng serve --host rumpel.hat.org.
ng generate component component-name to generate a new component. You can also use
ng generate directive|pipe|service|class|module.
ng build to build the project. The build artifacts will be stored in the
--environment=standalone flags for a standalone production build or
--environment=native flags for a HAT native production build.
Also it might be necessary to update configuration parameters in the
/src/app/app.config.ts file. Namely,
databuyer parameters should be updated when the app is run outside of HAT testing environment.
Running unit tests
ng test to execute the unit tests via Karma.
Running end-to-end tests
ng e2e to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via
To get more help on the Angular CLI use
ng help or go check out the Angular CLI README.
This work is licensed under the Mozilla Public License Version 2.0. Please read the LICENSE file for further details.