From bace0e2f208e661a75a76419d22a39ddc32bf343 Mon Sep 17 00:00:00 2001 From: Holger Woltersdorf Date: Wed, 16 Dec 2015 22:13:11 +0100 Subject: [PATCH] Linked demo in README, fixed default setting in app.sample.php --- README.md | 6 +++++- config/app.sample.php | 2 +- config/servers.sample.php | 30 +++++++++++++++--------------- tests/mass-insert.php | 28 ---------------------------- 4 files changed, 21 insertions(+), 45 deletions(-) delete mode 100644 tests/mass-insert.php diff --git a/README.md b/README.md index b7160d9..8301fad 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ A web interface to read data from redis server(s) ## Requirements * Webserver (nginx, apache2, etc.) - * PHP >= 5.5 with phpredis extension + * PHP >= 5.5 with phpredis extension (**compatible with php7**) ## Installation @@ -66,6 +66,10 @@ server { **That's it.** +## Public demo + +**[Browse the demo](http://readis.hollo.me)** + ## Screenshots ## Server selection diff --git a/config/app.sample.php b/config/app.sample.php index 2a38f16..4be0d67 100644 --- a/config/app.sample.php +++ b/config/app.sample.php @@ -5,5 +5,5 @@ */ return [ - 'baseUrl' => '/', + 'baseUrl' => '', ]; \ No newline at end of file diff --git a/config/servers.sample.php b/config/servers.sample.php index 05789b0..8440c3c 100644 --- a/config/servers.sample.php +++ b/config/servers.sample.php @@ -6,20 +6,20 @@ */ return [ - [ - 'name' => 'Redis server 1', - 'host' => 'localhost', - 'port' => 6379, - 'timeout' => 2.5, - 'retryInterval' => 100, - 'auth' => null, + [ + 'name' => 'Local Redis 1', + 'host' => 'localhost', + 'port' => 6379, + 'timeout' => 2.5, + 'retryInterval' => 100, + 'auth' => null, ], - // [ - // 'name' => 'Redis server 2', - // 'host' => 'localhost', - // 'port' => 6380, - // 'timeout' => 2.5, - // 'retryInterval' => 100, - // 'auth' => null, - // ] + // [ + // 'name' => 'Local Redis 2', + // 'host' => 'localhost', + // 'port' => 6380, + // 'timeout' => 2.5, + // 'retryInterval' => 100, + // 'auth' => null, + // ] ]; \ No newline at end of file diff --git a/tests/mass-insert.php b/tests/mass-insert.php deleted file mode 100644 index d99a783..0000000 --- a/tests/mass-insert.php +++ /dev/null @@ -1,28 +0,0 @@ -