| This project was last tested with Angular CLI version 8.2.5.
- NPM >=6.0 (required to make use of the package-lock.json file)
- Node >=10.0
- Angular CLI >=8.0
- Typescript >=3.4
- Angular >=8.0
Run 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
initialising ng serve --host rumpel.hat.org
.
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 --target=production
and --environment=standalone
flags for a standalone production build or
--target=production
and --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, name
,
exchange
and databuyer
parameters should be updated when the app is run outside of HAT testing environment.
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 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.