Skip to content

15inchdesign/OpenWeatherMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a9f2f65 · Aug 13, 2020

History

32 Commits
Jan 13, 2020
Aug 13, 2020
Jan 13, 2020
Jan 13, 2020
Aug 13, 2020
Jan 13, 2020
Jan 13, 2020
Jan 13, 2020
Aug 13, 2020
Aug 13, 2020
Jan 13, 2020
Jan 13, 2020
Jan 13, 2020
Jan 13, 2020

Repository files navigation

WeatherApp

Prerequisite

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_module

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.

Development server

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.

Code scaffolding

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.