Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.94 KB

README.adoc

File metadata and controls

70 lines (46 loc) · 1.94 KB

Angular Training powered by devonfw

This repository contains Angular training materials:

  1. Slides available here.

  2. Code organized as step-by-step development of a simple application. Each step is a repository branch whose name starts with a step number, e.g. 1-hello-world, 2-simple-component, etc.

Getting started

Install prerequisites

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

Git

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

Node.js

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

Angular CLI

Having npm installed you can install Angular CLI like this:

npm install -g @angular/[email protected]

Start from Hello World!

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.