Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thumbor/thumborizeme
https://github.com/thumbor/thumborizeme
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thumbor/thumborizeme
- Owner: thumbor
- License: mit
- Created: 2013-09-20T00:44:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T23:03:52.000Z (about 1 year ago)
- Last Synced: 2024-04-28T15:50:35.808Z (9 months ago)
- Language: Python
- Size: 776 KB
- Stars: 3
- Watchers: 11
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thumborizeme
Thumborize is an application that shows the benefits of using the
[Thumbor](https://github.com/thumbor/thumbor).## Configuration
To use redis some environments variables must be configured
##### Single Node
```python
REDIS_HOST = "localhost"
REDIS_DB = 0
REDIS_PORT = 6379
REDIS_PASSWORD = None
REDIS_MODE = "single_node"
```##### Sentinel
```python
REDIS_SENTINEL_MASTER_INSTANCE = "redismaster"
REDIS_SENTINEL_MASTER_DB = 0
REDIS_SENTINEL_MASTER_PASSWORD = "dummy"
REDIS_SENTINEL_INSTANCES = "localhost:26379,localhost:26380"
REDIS_SENTINEL_PASSWORD = "dummy"
REDIS_SENTINEL_SOCKET_TIMEOUT = 1.0
REDIS_MODE = "sentinel"
```## Update Thumborize
```sh
ansible-playbook /opt/ansible/playbook.yml -t thumbor
ansible-playbook /opt/ansible/playbook.yml -t restart
```## Dependencies
To install the dependencies, run the commands bellow:
```sh
make setup
```## Run locally
To start thumborizeme, run the commands bellow:
```sh
make run
```