Skip to content

Benfoxyy/Weather

Repository files navigation

Django Weather App

Simple weather app with search option

python django sqlite html5 css3 bootstrap

Weather Info Demo

General features

  • Live weather information
  • Function Base view

Setup

To get the repository you need to run this command in git terminal

git clone https://github.com/Benfoxyy/Weather.git

Getting ready

Create an environment for install all dependencies with this command

python -m venv venv

Install all project dependencies with this command

pip install -r rquirements.txt

Once you have installed django and other packages, go to the cloned repo directory and ru fallowing command

python manage.py makemigrations

This command will create all migrations file to database

Now, to apply this migrations run following command

python manage.py migrate

Run server

And finally lets start server and see and using the app

python manage.py runserver

Whene server is up and running, go to a browser and type http://127.0.0.1:8000

Option

For editing or manage the database, you have to be superuser and have superuser permissions. So lets create superuser

python manage.py createsuperuser
  • Username
  • Password
  • Password confirmation

Warning

Recently the weather api providor ( open weather ) filters us , So you should use VPN for getting request from it!


Thanks for visiting my app, if you have any opinions or seeing bugs; let me know 🙂

About

Simple weather app with DJANGO

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published