Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boeckmt/ol-ng-dwd-radar
https://github.com/boeckmt/ol-ng-dwd-radar
angular pwa
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boeckmt/ol-ng-dwd-radar
- Owner: boeckMt
- Created: 2018-01-03T20:46:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T19:42:25.000Z (over 1 year ago)
- Last Synced: 2024-04-15T00:50:19.771Z (10 months ago)
- Topics: angular, pwa
- Language: TypeScript
- Homepage:
- Size: 5.58 MB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ol-ng-dwd-Radar
[Angular](https://angular.io/) [OpenLayers](http://openlayers.org/) App which shows Radar data from [DWD](https://www.dwd.de/DE/wetter/warnungen_aktuell/objekt_einbindung/einbindung_karten_geowebservice.html)
[PWA](https://blog.angular-university.io/angular-service-worker/)[demo](https://boeckmt.github.io/ol-ng-dwd-Radar/)
## Getting Started
```
git clone https://github.com/boeckMt/ol-ng-dwd-Radar.git
cd ol-ng-dwd-Radar
npm i
npm start
```This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.1.
## 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.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `docs/` directory. Use the `-prod` flag for a production build.
## Add to GitHub Pages
set "start_url": "/ol-ng-dwd-Radar/index.html" in manifest.json
Run `npm run buildGP`
https://github.com/angular/angular-cli/wiki/stories-github-pages
https://github.com/angular/angular-cli/issues/9395## Update GitHub Pages
- create PR on master -> .github/workflows/node-gh-pages.yml## PWA
- check for new version of app(service-worker) //swUpdate.available.subscribe
- cache files of app and requested osm tiles with ngsw-config.json //with globs patern## Update
- `ng update`
- `ng update @angular/cli --from x --to y --migrate-only`
- `npm outdated -l`