From bd8e50493b22588b7129201a2a46f08bfde8b0b2 Mon Sep 17 00:00:00 2001 From: Erik Thuning <boooink@gmail.com> Date: Wed, 14 Feb 2024 10:54:48 +0100 Subject: [PATCH] Aded minimal documentation --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c8475f3..727903a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,16 @@ # Boka2 - -There should be a description here -Additional line +Track an inventory of products -additional line 2 +## Installation + + * Clone the repo + * copy `config.php.example` to `config.php` and set correct values + * copy `email-fragments.txt.example` to `email-fragments.txt` and change as necessary + * point a webserver to the project root + * REMOTE_USER authentication should be configured for the entire application (context path /) + * exempt `/cron.php` from authentication + * set up a cron job along these lines: + ``` + * * * * 1-5 root curl -sS https://example.com/cron.php + ```