Weatherscan/README.md

1.3 KiB

Weatherscan Simulator

Join our discord

Weatherscan simulation in PWA (Progressive web application), coded in HTML/JS/CSS

Visit https://weatherscan.tk/?philadelphia for a demo of the PWA

Installation

Running locally and development

  1. Download & Install node.js LTS
  2. Get weather.com and mapbox.com API keys.
  3. Navigate to /webroot/js and create secrets.js.
  4. Open secrets.js and type var api_key = 'YOUR_API_KEY'. Replace YOUR_API_KEY with the weather.com API key.
  5. On a new line, type var map_key = 'YOUR_API_KEY'. Replace YOUR_API_KEY with the mapbox.com API key.
  6. In terminal, run npm install --production in the root folder of this project. This will install any dependencies.
  7. In terminal, run npm start in the root folder of this project. This will start a local web server.
  8. Follow the link in the console output.

Screenshots

Weatherscan simulator in normal mode

image

Weatherscan simulator in severe weather mode

image