[doc] Avoid global angular installation

This commit is contained in:
Thomas Lindner 2023-04-01 19:32:44 +02:00
parent c468543fa5
commit 26818da430

View file

@ -29,13 +29,13 @@
1. Install node.js (e.g. via 1. Install node.js (e.g. via
[nvm](https://github.com/nvm-sh/nvm#installation-and-update)) [nvm](https://github.com/nvm-sh/nvm#installation-and-update))
2. `cd kibicara-frontend` 2. `cd frontend`
3. Install the dependencies with `npm i` 3. Install the dependencies with `npm i`
4. Install Angular with `npm i -g @angular/cli` 4. Install Angular with `npm i @angular/cli`
5. Turn off production mode if you have not already (see above in backend). 5. Turn off production mode if you have not already (see above in backend).
6. Start the backend in a different terminal 6. Start the backend in a different terminal
7. To serve and open the application, run `ng s -o`. The application will open 7. To serve and open the application, run `node_modules/@angular/cli/bin/ng.js s -o`.
under [http://127.0.0.1:4200](http://127.0.0.1:4200). The application will open under [http://127.0.0.1:4200](http://127.0.0.1:4200).
### Creating an account ### Creating an account