Update README.md

This commit is contained in:
buffbears 2021-03-24 20:11:21 -04:00 committed by GitHub
parent ea6d22b0d3
commit 7edc9c99e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -5,11 +5,12 @@ Remade with Openweathermaps api
## Running locally
1. Create OpenWeatherMaps (https://openweathermap.org/api) and Mapbox (https://mapbox.com) API keys.
2. Go to `webroot/js/groupull.js`, search for and replace `putapikeyhere` with your OpenWeatherMaps API key.
3. Go to `webroot/js/radar.js`, search for and replace `putapikeyhere` with your Mapbox API key.
4. Download & Install [node.js LTS](https://nodejs.org/en/)
5. In terminal, run `npm install --production` in the root folder of this project. This will install any dependencies.
6. In terminal, run `npm start` in the root folder of this project. This will start a local web server.
7. Follow the link in the console output.
3. Go to 'webroot/js/location.js', search for and replace 'putapikeyhere' with your OpenWeatherMapsApi key.
4. Go to `webroot/js/radar.js`, search for and replace `putapikeyhere` with your Mapbox API key.
5. Download & Install [node.js LTS](https://nodejs.org/en/)
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.
## Development
This project uses gulp to compile SASS to CSS.