Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.21 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.21 KB

Current Weather Portal

Steps to Build and Run Project

  1. Clone GitHub repository for weather portal.( https://github.com/prakher1992/weather_portal)

  2. Go to the root directory by executing "cd weather_portal"

  3. Install the required Python dependencies mentioned in the ‘requirements.txt’ file

pip install -r requirements.txt
  1. You need to replace the current weather report API access key with your own key in the file (weather_app/routes.py) api_key

Note: You can get this API key by signup at https://openweathermap.org/api

  1. You also need to replace the current location API access key with your own key in the file (weather_app/static/script.js) location_api

Note: You can get this API key by signup on https://www.locationiq.com/

  1. Now execute the command ‘python run.py’ to run the application

  2. Open the browser and go to http://127.0.0.1:5000

Database design

dbdiagram