Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 2.09 KB

README.md

File metadata and controls

81 lines (55 loc) · 2.09 KB

Getting started

Install prerequisites

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

Angular CLI requires Node.js 6.9.0 or higher.

It is highly recommended to install the Node Version Manager which manages multiple active Node.js versions on your machine. The latest windows version of nvm can be downloaded here.

Having the Node Version Manager installed, install Node.js, e.g. 6.10.2:

nvm install 6.10.2

and set it to be used:

nvm use 6.10.2

npm

Having the Node.js installed you have also its package manager - npm installed, but we need its version 5 or higher, e.g. 5.3.0:

npm install -g npm@5.3.0

Angular CLI

Having npm installed you can install Angular CLI like this:

npm install -g @angular/cli

Clone, install dependencies and run

Clone this repository:

https://github.com/mmatczak/devcamp-ng-forms.git

Install dependencies using npm:

cd devcamp-ng-forms
npm install

This may take several minutes...

Start the application using Angular CLI:

ng serve -o

The application should open in your default browser displaying a header containing: Demystifying Angular (Reactive) Forms

How did I generate this project using Angular CLI?

mkdir devcamp-ng-forms
ng new dev-camp-ng-forms --prefix=dc --style=scss --skip-install --directory=devcamp-ng-forms
cd devcamp-ng-forms
npm install