f2f3e6da20 | ||
---|---|---|
src/scss | ||
webroot | ||
.gitattributes | ||
.gitignore | ||
README.md | ||
gulpfile.js | ||
package-lock.json | ||
package.json |
README.md
Weatherscan Simulator
Weatherscan simulation in HTML/JS/CSS Remade with Openweathermaps api
Running locally
- Create OpenWeatherMaps (https://home.openweathermap.org/api_keys) and Mapbox (https://account.mapbox.com/) API keys.
- Go to
webroot/js/groupull.js
, search for and replaceputapikeyhere
with your OpenWeatherMaps API key. - Go to
webroot/js/location.js
, search for and replaceputapikeyhere
with your OpenWeatherMapsApi key. - Go to
webroot/js/radar.js
, search for and replaceputapikeyhere
with your Mapbox API key. - Download & Install node.js LTS
- 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.
Development
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.