Skip to content

AlexGioffDev/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather City

mobile device

This application allows you to view the following weather details for any city you desire, thanks to the OpenWeatherMap API:

  • Current weather condition (sunny, rainy, cloudy)
  • Current temperature
  • Minimum and maximum temperature
  • Sunrise and sunset times
  • Humidity percentage
  • Wind speed in m/s

Getting Started

These instructions will guide you on how to run this application on your local machine.

Prerequisites

  • Python 3 installed on your machine.
  • An API key from OpenWeatherMap.

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/AlexGioffDev/weather
  1. Navigate to the project directory.
cd weather
  1. Install the required Python packages using the requirements.txt file
pip install -r requirements.txt

4.Create a .env file in the weather_main directory and add your OpenWeatherMap API key in the following format:

API_KEY_WEATHER=<your_api_key>

5.Navigate to the weather_main directory in your terminal and run the following command to start the server:

python3 manage.py runserver

About

A weather app made with django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published