Weatherscan/README.md

1.1 KiB

Weatherscan Simulator

Weatherscan simulation in HTML/JS/CSS Remade with Openweathermaps api

Running locally

  1. Create OpenWeatherMaps (https://home.openweathermap.org/api_keys) and Mapbox (https://account.mapbox.com/) API keys.
  2. Go to webroot/js/groupull.js, search for and replace putapikeyhere with your OpenWeatherMaps API key.
  3. Go to webroot/js/location.js, search for and replace putapikeyhere with your OpenWeatherMapsApi key.
  4. Go to webroot/js/radar.js, search for and replace putapikeyhere with your Mapbox API key.
  5. Download & Install node.js LTS
  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.

Development

This project uses gulp to compile SASS to CSS.

  1. Download & Install node.js LTS
  2. Run npm install gulp-cli -g
  3. Run npm install in the root folder of this project.
  4. Run gulp or gulp watch in the root directory to compile.