You need a Git client, the Node.js and the Angular CLI to make use of the project seed. It is highly recommended to use the following versions:
-
Node.js 10.16.0
-
Angular CLI 8.0.4
Check if you have a Git client already installed:
git --version
If your OS can not recognize this command, install Git. For details please refer to this page. When installing under Windows, please make sure you check the following option:
-
✓ Use git from Windows command prompt
It is highly recommended to install the Node Version Manager which manages multiple active Node.js versions on your machine. The windows version of nvm can be found here. Once nvm installed, install the Node.js:
nvm install 10.16.0 nvm use 10.16.0
Having npm installed you can install Angular CLI like this:
npm install -g @angular/cli@8.0.4
Clone this repository:
git clone -b 1-hello-world https://github.com/devonfw/ng-training.git
let npm to install all dependencies:
cd ng-training npm install
and start the application:
ng serve --open
A Hello World! web page should open in your default browser.