Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Weather Application

This weather application is built using Django, requests and openweathermap, here users can get weather information by entering the city name

Requirements

api_key is required to run this project, to get api_key follow the below steps

  • Create an account in openweathermap.org
  • After creating account click here to go to openweathermap api_keys section here you can generate a new api_key or stick with default api_key

Run Locally

Clone the project

  git clone https://github.com/Shivakumar1V/Django-Weather-Application

Install dependencies

  pip install -r requirements.txt
  • Now open views.py file which is in home/views.py and enter your openweathermap api_key in api_key = "your api_key" section and save the file

Run the below commands

  python manage.py makemigrations
  python manage.py migrate

Start the server

  python manage.py runserver

It will run the application on http://127.0.0.1:8000/

Yeah! Now the application is ready to use
Open your browser and go to http://127.0.0.1:8000/ and enjoy the application

About

This weather application is built using HTML&CSS, JS(ajax), Python(Django), requests and openweathermap

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages