You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Einkaufszettel
  2. This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.6.
  3. # How to start Angular
  4. 1. open command Window and change directory to Project Path
  5. 2. Run `npm install` for installing all Project Dependencies <br>
  6. (all Dependencies inclusive node.js will be installed, generally you could use `npm` and `yarn`, but never use both at the same time for managing the dependencies. This could cause problems.)
  7. 3. Run `ng serve` for compiling and starting of the angular dev server <br>
  8. (If the port ::4200 is already in use, the ng serve will abort with a exception
  9. "An unhandled exception occurred: Port 4200 is already in use. Use '--port' to specify a different port.")
  10. 4. Navigate to 'http://localhost:4200/' after successful compiling <br>
  11. (** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
  12. : Compiled successfully.)
  13. 4. Run `Ctrl + C` to stop Angular dev server.
  14. ## Development server
  15. 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.
  16. ## Code scaffolding
  17. 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`.
  18. ## Build
  19. 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.
  20. ## Running unit tests
  21. Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
  22. ## Running end-to-end tests
  23. Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
  24. ## Further help
  25. To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).