From 747dc66d676b91940f50cc2364d796d0f5a9f8f9 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Mon, 16 Jan 2017 12:42:30 -0500 Subject: [PATCH] Update README to be more accurate --- README.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0f4ce9af..dfde7c1c 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ A self-hosted client that allows custom formatting of data from the hummingbird ### Requirements -* PHP 5.5+ +* PHP 7.0+ * PDO SQLite or PDO PostgreSQL (For collection tab) * GD -* Redis and PHP Redis extension (optional, for caching) +* Redis or Memcached for caching ### Installation @@ -48,23 +48,14 @@ or 3. Configure settings in `app/config/config.toml` to your liking 4. Create the following directories if they don't exist, and make sure they are world writable * public/js/cache - * public/images/manga - * public/images/anime 5. Make sure the `console` script is executable -6. To batch-create image thumbnails, run `console cache-images`. ### Server Setup #### Caching -To setup API caching, choose a caching method: -* Database - 1. Follow the instructions for the Anime Collection setup below. - 2. Set `cache_driver` in `app/config/config.toml` to 'SQLDriver' +Update `app/config/cache.toml` based on the instructions [here](https://git.timshomepage.net/timw4mail/banker/blob/master/README.md). -* Redis - 1. Copy `app/redis.toml.example` to `app/redis.toml`, and edit to match your setup. - 2. Set `cache_driver` in `app/config/config.toml` to 'RedisDriver' #### nginx Basic nginx setup