Update README.md

This commit is contained in:
notbasketball 2021-03-23 23:47:21 -04:00 committed by GitHub
parent 235560a76c
commit 5498470d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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