From e7838d554f4d3760ffa7bce25a3d83f9860aad96 Mon Sep 17 00:00:00 2001 From: Nacroni <60831747+Nacroni@users.noreply.github.com> Date: Wed, 15 Feb 2023 20:50:57 -0500 Subject: [PATCH] Update readme.md for use with radar.js This goes in line with the "remove key in radar.js" pull request. --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc81de7..cccc8c5 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,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)