Skip to content

Commit

Permalink
Merge branch 'master' of github.com:thumbor-community/redis_result_st…
Browse files Browse the repository at this point in the history
…orage
  • Loading branch information
Martin Samson committed Aug 14, 2015
2 parents 824c5aa + 17f68f2 commit e887987
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit e887987

Please sign in to comment.