From 3f2d58b257a9615aeceb2ef5154b757885b05ab3 Mon Sep 17 00:00:00 2001 From: Archos Date: Mon, 5 Jan 2026 17:26:32 +0100 Subject: [PATCH] =?UTF-8?q?p=C5=99id=C3=A1n=20run-digest.sh=20a=20config.e?= =?UTF-8?q?nv.example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.env.example | 14 ++++++++++++++ run-digest.sh | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 config.env.example create mode 100644 run-digest.sh diff --git a/config.env.example b/config.env.example new file mode 100644 index 0000000..e688a3e --- /dev/null +++ b/config.env.example @@ -0,0 +1,14 @@ +export ANTHROPIC_API_KEY="sk-ant-xxx..." +export TOKEN_ZPRAVOBOT="your-token-here" +export TOKEN_POZITIVNI="your-token-here" +export TOKEN_SARKASTICKY="your-token-here" +``` + +## .gitignore +``` +config.env +*.csv +logs/ +archive/ +__pycache__/ +*.pyc diff --git a/run-digest.sh b/run-digest.sh new file mode 100644 index 0000000..08f32ba --- /dev/null +++ b/run-digest.sh @@ -0,0 +1,3 @@ +#!/bin/bash +source /app/data/zpravobot-digest/config.env +python3 /app/data/zpravobot-digest/digest-bot.py "$@"