Skip to content

alexNeto-zz/lada-api

Repository files navigation

Lada API

Build Status Coverage Status Maintainability Codacy Badge

Api para consulta e comparação de previsão do tempo. Related To lada-app

Setup

Create a venv in the project folder

python3 -m venv ./venv

Activate the venv

  • For Linux or Mac:
source venv/bin/activate
  • For Windows:
\venv\Scripts\activate.bat

Export Variables

this step is only if you want live reload.

export FLASK_APP=app.py
export FLASK_DEBUG=1
export OPEN_WEATHER_TOKEN=<your-token-here>

Install the dependencies

pip install -r requirements.txt

Run it

python -m flask run

Or more easily

./run dev