Monday, February 27, 2017

#1.2 Angular2 Basics - start cloning angular quickstart

Prerequisites: node.js, npm

In the arch linux shell:

1. create a directory for the project e.g. /Projects



2. clone the quickstart git repository:
$ git clone https://github.com/angular/quickstart  my-proj
Cloning into 'my-proj'...
remote: Counting objects: 1321, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 1321 (delta 0), reused 0 (delta 0), pack-reused 1317
Receiving objects: 100% (1321/1321), 1.11 MiB | 543.00 KiB/s, done.
Resolving deltas: 100% (724/724), done.
$ cd my-proj

3. install all dependencies:
$ npm install

4. run the server
$ npm start 


References:
https://youtu.be/-zW1zHqsdyc
https://github.com/angular/quickstart

No comments:

Post a Comment