This project was generated with Angular CLI version 16.2.5.
- Install Angular CLI: You need to have Angular CLI installed on your machine. You can install it globally using npm:
npm install -g @angular/cli
- Create a new project: You need to create a new project using Angular CLI. You can do this using the following command:
ng new projecte
- Inicialize an angular project: You need to inicialize an angular project. You can do this using the following command:
ng init
- Install Firebase CLI: You need to have Firebase CLI installed on your machine. You can install it globally using npm:
npm install -g firebase-tools
- Login to Firebase: You need to be logged into Firebase in your CLI. You can do this using the following command:
firebase login
Run the following command for a dev server:
ng serve
Then navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run the following command to generate a new component:
ng generate component component-name
You can also use the following commands to generate other code scaffolding:
ng generate directive|pipe|service|class|guard|interface|enum|module
Run the following command to build the project:
ng build
The build artifacts will be stored in the dist/
directory.
Run the following command to execute the unit tests via Karma:
ng test
Run the following command to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
ng e2e
Run the following command to get more help on the Angular CLI:
ng help
Or go check out the Angular CLI Overview and Command Reference page.
- Build your project: You need to build your project using Angular CLI. You can do this using the following command:
ng build
- Initialize Firebase: You need to initialize Firebase in your project. You can do this using the following command:
firebase init
- Deploy to Firebase: You can deploy your project to Firebase using the following command:
firebase deploy