Weather Website using API from OpenWeather
A simple single page web application to display the current weather and 3 times +3hr weather forecast
Check out the website here: Weather Health
$ git clone https://github.com/shahan007/weather-website.git
$ python -m venv venv
$ source venv/Scripts/activate
(venv) $ pip install -r requirements.txt
(venv) $ export FLASK_DEBUG=1 #optional
(venv) $ export FLASK_APP=run.py
(venv) $ export API_KEY=<YOUR_API_KEY>
(venv) $ python -c 'import os; print(os.urandom(16))'
b'\xba\xc9>\xfc}\xcf\x1b\xe5\xcc\xb8\x94L\x8e\x8c-C' #copy this secret key & set it as secret key
(venv) $ export SECRET_KEY=\xba\xc9>\xfc}\xcf\x1b\xe5\xcc\xb8\x94L\x8e\x8c-C
(venv) $ flask run