A simple web application in Flask that displays temperature and humidity data
from an SQLite database. The application is automatically deployed
on push to the main
branch of this repository.
It is also possible to run the application locally on your machine. Before following the steps below make sure that you have Python installed.
python -m venv .venv
.\venv\Scripts\activate
pip install -r requirements.txt
flask --app=weatherman run
This will load the default SQLite database specified in the .env.example
file.
Provide a custom .env
file to overwrite this value.
pytest tests/