From 27ba9db4abd469f6ee4267259ee33dfc3b4f5278 Mon Sep 17 00:00:00 2001 From: Martin Samson Date: Fri, 14 Aug 2015 10:16:41 -0400 Subject: [PATCH] Installation instructions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 32aa014..094e4dd 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,18 @@ Thumbor redis storage adapters. +## Installation + +`pip install tc_redis` ## Configuration +To use redis as a storage or result storage some values must be configured in `thumbor.conf` + ##### Redis Storage ``` +STORAGE='tc_redis.storages.redis_storage' + REDIS_STORAGE_IGNORE_ERRORS = True REDIS_STORAGE_SERVER_PORT = 6379 REDIS_STORAGE_SERVER_HOST = 'localhost' @@ -19,6 +26,8 @@ REDIS_STORAGE_SERVER_PASSWORD = None ##### Redis Result Storage ``` +RESULT_STORAGE='tc_redis.result_storages.redis_result_storage' + REDIS_RESULT_STORAGE_IGNORE_ERRORS = True REDIS_RESULT_STORAGE_SERVER_PORT = 6379 REDIS_RESULT_STORAGE_SERVER_HOST = 'localhost'