Ucho can transfer Fedora Messaging events to celery tasks.
If you are interested in specific Fedora Messaging topic, add it to data/configuration/fedmsg-celerize-map.yaml.
- [1. terminal] go to cloned frambo directory and run
make redis-start
- [2. terminal] in
ucho/
runmake fedmsg-start
Set up configuration details for your redis for celery by setting env variables REDIS_BROKER
and REDIS_BACKEND
in docker run.
By default it expects a redis running on localhost
.
To start one, go to cloned frambo directory and run make redis-start
.
You can lunch it with fedmsg:
make fedmsg-start
Install required packages and get cerificates
./requirements.sh
Create virtualenv:
virtualenv ucho
Activate it by sourcing the activation file:
source ./ucho/bin/activate
Run command in your virtual env:
pip3 install -r requirements.txt
Listen on fedmsg:
TASK='fedmsg' DEPLOYMENT=dev listen.py