-
Clone GitHub repository for weather portal.( https://github.com/prakher1992/weather_portal)
-
Go to the root directory by executing "cd weather_portal"
-
Install the required Python dependencies mentioned in the ‘requirements.txt’ file
pip install -r requirements.txt
- You need to replace the current weather report API access key with your own key in the file (weather_app/routes.py)
Note: You can get this API key by signup at https://openweathermap.org/api
- You also need to replace the current location API access key with your own key in the file (weather_app/static/script.js)
Note: You can get this API key by signup on https://www.locationiq.com/
-
Now execute the command ‘python run.py’ to run the application
-
Open the browser and go to http://127.0.0.1:5000