From 186fd48666c55a832ebb974f9227c3a4aa0f51e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Sajdl?= Date: Fri, 20 Apr 2018 16:30:20 +0200 Subject: [PATCH] Updating info --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3c2fa54..5bc4b6a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ password: Ss123456 ``` Please note that changes are reverted every hour. +### I noticed there is a new release. How do I update? +Updating server status is fairly straightforward. Simply copy over the new files (with exception of `install.php`). Please double check that `config.php` didn't change - if it did, you will need to update it accordingly. This is also pretty straightforward - copy over the old `define()` statements and fill out any new ones (this should be fairly easy as the names are usually pretty self explanatory). This should not be required in future as it is planned to move most settings to database. + ### Can I somehow pull status info from Server status programatically? Yes you can! As of [9f7e15f](https://github.com/Pryx/server-status/commit/9f7e15fcd1d900108cbb0b3cad4bdc5ecf8b741b) we added API to pull status data... And more APIs are coming! Results are encoded in JSON format which should be pretty easy to use in any common programming language.