Update README.md

This commit is contained in:
Axel 2021-01-08 15:45:55 +01:00 committed by GitHub
parent 0cfb44788a
commit c313ffce6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,15 +17,25 @@ It comes with a very straightforward dashboard written in PHP.
I rewrote a couple of things today to make sure the script still works.
## Requirements
* Perl
* a MTA
* PHP (with PDO)
* a Database server (MySQL, other?)
* Access to CRON tasks
## Installation
* clone this repo
* install Perl dependencies
* install PHP composer dependencies: `cd ./web && composer install`
* create a Database and import the schema from `sql/create.sql`
* add tasks and contacts into the database (no backend yet)
* run the script: `perl monitolite.pl`
* check the web dashboard for results.
* when everything works, you may create a CRON `* * * * * cd <change/this/to/the/correct/path> && /usr/bin/perl monitolite.pl > /dev/null`
MORE INFORMATIN COMING SOON.
MORE INFORMATION COMING SOON.