#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")" if [[ ! -d .venv ]]; then python3 -m venv .venv ./.venv/bin/pip install -q -U pip ./.venv/bin/pip install -q -r requirements.txt fi if [[ ! -f .env ]]; then echo "No .env found. Copy .env.example to .env and fill in your keys." exit 1 fi exec ./.venv/bin/python -m app.main