An open API service indexing awesome lists of open source software.

https://github.com/alexgioffdev/weather

A weather app made with django
https://github.com/alexgioffdev/weather

django openweathermap-api scss weather-app

Last synced: about 1 month ago
JSON representation

A weather app made with django

Awesome Lists containing this project

README

          

# 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.

```bash
git clone https://github.com/AlexGioffDev/weather
```

2. Navigate to the project directory.
```bash
cd weather
```

3. Install the required Python packages using the requirements.txt file
```bash
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:
```bash
API_KEY_WEATHER=
```

5.Navigate to the weather_main directory in your terminal and run the following command to start the server:
```bash
python3 manage.py runserver
```