bit-punk / e-calc

Angular based tool to calculate the eletric power-consumption / yearly-costs of devices
https://bit-punk.github.io/e-calc/
MIT License
0 stars 0 forks source link

ECalc

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:

Development server

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.

Code scaffolding

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.


Build-Environment-Setup

IDE

To build the project or use gitversioning it is recommended that you run the commands in a bash-shell window.

Recommended IDEs are:

NPM

Installing the Angular Build-tools

Installing Angular-Material

ng add @angular/material

Building

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Continuous Build + Testing

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

Internationalization (i18n)

GitHub Actions

GitHub Pages

GitFlow

The versioning schema-used for this project is git-flow:

Links