This project was generated with Angular CLI version 17.0.5.
It provides a simple form for calculating the electric-power consumption of devices in standby-mode:
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application 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|guard|interface|enum|module
.
To build the project or use gitversioning it is recommended that you run the commands in a bash-shell window.
Recommended IDEs are:
npm -v
sudo apt install npm
sudo npm install -g @angular/cli
ng version
ng add @angular/material
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Once you have successfully installed Node.js and the Angular cli-tools, you can complie the project (and automatically open it in your default-browser) by running:
ng serve --open
npm install @ngx-translate/core @ngx-translate/http-loader --save
The versioning schema-used for this project is git-flow: