summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index d9642f3..08f1be1 100644
--- a/README.txt
+++ b/README.txt
@@ -5,9 +5,18 @@ RUN
$ export FLATBOT_TELEGRAM_BOT_API_TOKEN=<...>
$ export FLATBOT_TELEGRAM_CHAT_ID=<...>
-$ go build && ./flatbot <URL>
+$ go build
+$ ./flatbot -dry-run -once <URL>
+$ ./flatbot <URL>
DECRYPT SECRETS
$ . <(gpg --decrypt --quiet misc/telegram-secrets.sh.asc)
+
+
+TEST
+
+$ go test
+$ python3 -m http.server testdata
+$ ./flatbot -dry-run -once http://localhost:8000/2025-02-19-isle-of-dogs.html