A demo video can be viewed HERE.
theWeather is a Flask web application that allows users to view current weather data for several locations.
Tech Stack: Python, Flask, SQLite, OpenWeather API
- Clone the repository to a new directory.
git clone <repo_url>
- Configure a file named
.env
in project's directory withAPI_KEY
,DB_NAME
, andSECRET_KEY
. - From a terminal opened at this project's directory, create a virtual environment:
python -m venv .venv
- Activate the virtual environment.
macOS:
source .venv/bin/activate
PowerShell:.venv\Scripts\Activate.ps1
- Install requirements:
pip install -r requirements.txt
- Run the code in
main.py
- View app on local host link.
http://127.0.0.1:5000