Neivanny1 / simple_temp_monitor_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rooms_temp

Project for Teclado blog

Quickstart

Create a .env file with a DATABASE_URL variable that points to a PostgreSQL database. Look at .env.example for information on how this should be written.

Create a Python virtual environment:

python3.10 -m venv .venv

Activate the virtual environment and install the dependencies using pip:

source .venv/bin/activate  # different on Windows
pip install -r requirements.txt

Run the app:

flask run

About


Languages

Language:Python 94.2%Language:Dockerfile 4.1%Language:Shell 1.7%