- Live weather information
- Function Base view
To get the repository you need to run this command in git terminal
git clone https://github.com/Benfoxyy/Weather.gitCreate an environment for install all dependencies with this command
python -m venv venvInstall all project dependencies with this command
pip install -r rquirements.txtOnce you have installed django and other packages, go to the cloned repo directory and ru fallowing command
python manage.py makemigrationsThis command will create all migrations file to database
Now, to apply this migrations run following command
python manage.py migrateAnd finally lets start server and see and using the app
python manage.py runserverWhene server is up and running, go to a browser and type http://127.0.0.1:8000
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
Recently the weather api providor ( open weather ) filters us , So you should use VPN for getting request from it!
