#!/usr/bin/env bash
set -euo pipefail

REPO_DIR="${REPO_DIR:-/opt/microdao-daarion}"
LAB_NOTES_DIR="${LAB_NOTES_DIR:-$REPO_DIR/lab-notes}"
LOKI_URL="${LOKI_URL:-http://localhost:3100}"

cd "$REPO_DIR"
export LAB_NOTES_DIR
export LOKI_URL

python3 scripts/logs/generate_daily_summary.py
