Weatherscan simulation in HTML/JS/CSS
Visit https://weatherscan.app/?long_island for a demo
- Download & Install node.js LTS
- Get weather.com and mapbox.com API keys.
- Navigate to
/webroot/js
and createsecrets.js
. - Open
secrets.js
and typevar api_key = 'YOUR_API_KEY'
. Replace YOUR_API_KEY with the weather.com API key. - On a new line, type
var map_key = 'YOUR_API_KEY'
. Replace YOUR_API_KEY with the mapbox.com API key. - In terminal, run
npm install --production
in the root folder of this project. This will install any dependencies. - In terminal, run
npm start
in the root folder of this project. This will start a local web server. - Follow the link in the console output.
This project uses gulp to compile SASS to CSS.
- Download & Install node.js LTS
- Run
npm install gulp-cli -g
- Run
npm install
in the root folder of this project. - Run
gulp
orgulp watch
in the root directory to compile.