Compare commits

...

3 Commits

Author SHA1 Message Date
Nacroni 54367f6e53
Merge e7838d554f into afd23679c7 2023-07-19 11:18:48 -07:00
Connor Hackenberg afd23679c7
Update README.md 2023-07-18 10:30:54 -04:00
Nacroni e7838d554f
Update readme.md for use with radar.js
This goes in line with the "remove key in radar.js" pull request.
2023-02-15 20:50:57 -05:00
1 changed files with 6 additions and 5 deletions

View File

@ -8,8 +8,7 @@ If you would like to donate to this project visit here:
https://opencollective.com/weather-ranch
## Stay up to date (Visit the Discord Server):
https://discord.gg/4TpAsRtsAx
https://discord.io/WeatherRanch
## Installation Instructions:
## Running locally:
@ -18,8 +17,10 @@ https://discord.gg/4TpAsRtsAx
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.
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.
6. Navigate to `radar.js` and open it.
7. Find the line with `mapboxgl.accessToken = 'YOUR_API_KEY'`. Replace YOUR_API_KEY with the mapbox.com API key.
8. In terminal, run `npm install --production` in the root folder of this project. This will install any dependencies.
9. In terminal, run `npm start` in the root folder of this project. This will start a local web server.
10. Follow the link in the console output.
### Video Tutorial:
[![Weatherscan Emulator Local Install](https://img.youtube.com/vi/2oDdpsCEWOU/maxresdefault.jpg)](https://www.youtube.com/watch?v=2oDdpsCEWOU)