1- Naviguez jusqu'au répertoire de votre projet Angular en utilisant la commande cd chemin/vers/votre/projet. 2- Installez les dépendances de votre projet en exécutant la commande npm install. 3- Démarrez le serveur de développement en exécutant la commande ng serve. 4- Ouvrez votre navigateur et allez à l'adresse indiquée pour voir votre application en action. Par défaut, l'adresse sera http://localhost:4200.
Utilisez la commande ng test dans le terminal. Cela lancera le framework de test Karma configuré avec Jasmine par défaut. Un navigateur s'ouvrira et exécutera les tests, affichant les résultats dans le terminal ainsi que dans le navigateur.
This project was generated with Angular CLI version 13.3.11.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.