A Python web app using Django framework and Weather API.
Note
Have Python installed on your local device.
Please follow the steps strictly.
- Download the project
ZIP file
by clicking the green<> Code ▼
button. - Extract the project_name.zip folder to your desired file path/directory.
- Open the extracted folder using an IDE or text editor (Visual Studio Code recommended).
- Open the terminal and make sure you are on
...\weather_app>
(I am on powershell terminal) - Create a virtual environment using the command:
python -m venv env
- Install required packages using the command:
pip install -r requirements.txt
- Move into the
weather_project
directory using the command:
cd weather_project
- You should be in
...\weather_app\weather_project>
by now
- Run the server on localhost using the command:
python manage.py runserver
Important
The website will be active until Saturday 03 August 2024
.
If a website activation request, anything is wrong or can be improved, feel free to contact me.
Note
No setup is needed
Click this link to direct to my weather app page.
- Find a web hosting service.
- Follow the host's guidelines to set up the server live.
Tip
I am using PythonAnywhere's free plan to host the website.
If you are using this web hosting service, this video (link) may help you set up the website.
Language: Python, HTML (Standard Markup)
Frameworks: Django
Web templating engine: Jinja
Weather Data Source: Weather API
Packages used: here