-
-
The first step you must create a virtual environment and install requirements
- if you use windows
python -m venv .venv .\.venv\Scripts\activate pip install -r requirements.txt
- if you use linux
- if you use macOS
sudo apt install virtualenv virtualenv -p py3 .venv source .venv/bin/activate pip3 install -r requirements.txt
brew install virtualenv virtualenv -p py3 .venv source .venv/bin/activate pip install -r requirements.txt
-
The first step you must create a virtual environment and install requirements
-
touch .env #write that to .env file SECRET_KEY = '' # your variable
-
python manage.py runserver
when you run the server you must go to this page https://127.0.0.1:8000/
enter your city name and you will recive weather information of your city
info => country, city name, humidity, celsius temp, description and icon you will see "City Not Found!" Error if your city is not in the cities list