diff --git a/README.md b/README.md index 76d439c..3ff5bf5 100644 --- a/README.md +++ b/README.md @@ -22,17 +22,19 @@ A simple web service for monitoring website availability. ### 1. Installation -1. Upload all files to your web server +1. Upload all files to your cloudpanel. 2. Ensure PHP has write permissions for the `monitors` directory +![alt text](image-2.png) + ### 2. Configure Monitored Websites Edit `monitors.json` to add websites you want to monitor: ```json { - "example.com": "https://example.com", - "wikipedia.org": "https://www.wikipedia.org" + "forum.hhf.technology": "https://forum.hhf.technology", + "git.hhf.technology": "https://git.hhf.technology" } ``` @@ -52,6 +54,7 @@ Place Markdown files in the `incidents` directory: Add this to your crontab to run monitoring every minute: +![alt text](image-1.png) ```bash * * * * * /usr/bin/php -f /path/to/monitor.php >/dev/null 2>&1 ``` diff --git a/image-1.png b/image-1.png new file mode 100644 index 0000000..aafb5f3 Binary files /dev/null and b/image-1.png differ diff --git a/image-2.png b/image-2.png new file mode 100644 index 0000000..ac2fb82 Binary files /dev/null and b/image-2.png differ