Install-fest:
Install NodeJs or
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install nodejs
The nodejs package contains both the node
and npm
binaries.
Verify that the Node.js and npm were successfully installed by printing their versions:
node --version
Output
v12.14.1
Output
npm --version
6.13.6
Clone the repo or download it.
Install
Angular CLI
npm install -g @angular/cli
Navigate to the downloaded folder and inside install node_modeule
npm install npm
Addon packages:
Angular Material
npm install --save @angular/material @angular/cdk @angular/animations
We also need to install @ngrx/store by running:
npm install @ngrx/store --save
And of course:
npm i moment
This project was generated with Angular CLI version 8.3.22.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.