From c77d8d050cf48da6cbd9ba37c3d408c35adb8e5e Mon Sep 17 00:00:00 2001 From: swag Date: Fri, 22 Jul 2022 11:34:21 -0400 Subject: [PATCH] Moar documentation --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61147f2..d5e9e58 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,16 @@ Mojolicious blockchain technologies powered by AI. `secrets` and the Postgres connection string are mandatory +## Discord Webhook + +If you provide a file in the same directory called `.tom.url` +containing a Discord Webhook URL then a notification will go out when +someone signs the Guestbook. If you're using Docker but don't want the +Webhook behavior, just create an empty file to make the Docker build +work: + + $ touch .tom.url + ## Testing $ prove -l @@ -55,4 +65,4 @@ Add the `-v` option for more verbose output ## TODOs 1. Do something about the hardcoded URL in Webhook stuff -1. Document Webhook stuff +1. Implement try/catch for Webhook since we're using Perl 5.36