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
- Host: GitHub
- URL: https://github.com/alexgioffdev/weather
- Owner: AlexGioffDev
- Created: 2024-02-07T17:18:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T16:43:18.000Z (over 2 years ago)
- Last Synced: 2025-03-22T02:23:14.473Z (about 1 year ago)
- Topics: django, openweathermap-api, scss, weather-app
- Language: SCSS
- Homepage:
- Size: 1.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather City
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
```