summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2025-03-15 19:09:20 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2025-03-15 19:09:20 +0000
commitdc10fbaa33f1a6c8ec8437086f8a65be0d0be094 (patch)
treebe975c090cc1fb8ec9ba434cf31946cd24298b52
parentef5390f9d5ef4c83e47aa8f32920d260af162bdf (diff)
downloadflatbot-dc10fbaa33f1a6c8ec8437086f8a65be0d0be094.tar.gz
flatbot-dc10fbaa33f1a6c8ec8437086f8a65be0d0be094.tar.bz2
flatbot-dc10fbaa33f1a6c8ec8437086f8a65be0d0be094.zip
Add test section to README.txt
-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