GithubHelp home page GithubHelp logo

shivakumar1v / django-weather-application Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 7 KB

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

Python 58.74% HTML 41.26%
bootstrap css django django-weather-app html javascript jquery-ajax openweathermap python weather-app

django-weather-application's Introduction

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

django-weather-application's People

Contributors

shivakumar1v avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.