Skip to content

Botir/openweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather App with OpenWeatherMap API

install project

You can create the project as if you would do any django based project. fork this repo.

git clone https://github.com/Botir/openweather.git

Create your virtual environment

python3.8 -m venv
source env/bin/activate
Install packages
pip install -r requirements.txt
Create database
CREATE USER USER_NAME WITH PASSWORD 'USER_PASSWORD';
CREATE DATABASE DB_NAME OWNER USER_NAME;
Migrations
python manage.py migrate

Once done run this command to run the server.

python manage.py runserver
Run Celery and Beat
celery -A openweathermap beat --loglevel=info
celery -A openweathermap worker --loglevel=info

Requirementes

You will need an API of OpenWeatherMap. You can go on the site and sign up for the API and then can use it.

About

Weather App in Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published