2018-09-19 18:49:07 +00:00
|
|
|
# Weatherscan Simulator
|
|
|
|
Weatherscan simulation in HTML/JS/CSS
|
2021-08-24 23:10:58 +00:00
|
|
|
|
2022-10-30 16:29:40 +00:00
|
|
|
Visit https://weatherscan.net/?Philadelphia for a demo
|
2018-09-19 18:49:07 +00:00
|
|
|
|
2022-10-30 01:43:36 +00:00
|
|
|
## Donate:
|
|
|
|
If you would like to donate to this project visit here:
|
|
|
|
https://opencollective.com/weather-ranch
|
|
|
|
|
2022-10-30 01:44:40 +00:00
|
|
|
## Stay up to date (Visit the Discord Server):
|
|
|
|
https://discord.gg/4TpAsRtsAx
|
|
|
|
|
2022-10-30 01:44:50 +00:00
|
|
|
## Installation Instructions:
|
2022-10-30 01:44:40 +00:00
|
|
|
|
|
|
|
## Running locally:
|
2021-08-24 23:10:58 +00:00
|
|
|
1. Download & Install [node.js LTS](https://nodejs.org/en/)
|
2021-08-25 01:26:40 +00:00
|
|
|
2. Get weather.com and mapbox.com API keys.
|
2022-08-07 16:54:00 +00:00
|
|
|
3. Navigate to `/webroot/js` and open `config.js`.
|
|
|
|
4. Find the line with `var api_key = 'YOUR_API_KEY'`. Replace YOUR_API_KEY with the weather.com API key.
|
|
|
|
5. Find the line with `var map_key = 'YOUR_API_KEY'`. Replace YOUR_API_KEY with the mapbox.com API key.
|
2021-08-25 01:26:40 +00:00
|
|
|
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.
|
2022-11-02 21:20:40 +00:00
|
|
|
### Video Tutorial:
|
|
|
|
https://www.youtube.com/watch?v=2oDdpsCEWOU
|