Skip to content

tech07 redis and celery

Tom Purucker edited this page Nov 9, 2017 · 1 revision

Run the redis-server.exe using the local configuration

# anaconda prompt
cd '\Program Files\Redis' # epa windows install
redis-server --version
redis-server redis.windows.conf

Run redis-cli.exe to connect to your redis instance

redis-cli.exe

Start playing with redis, command line interface

redis 127.0.0.1:6379> SET foo bar
OK
redis 127.0.0.1:6379> KEYS *
1) "foo"
redis 127.0.0.1:6379> GET foo
"bar"
redis 127.0.0.1:6379> QUIT

celery

# anaconda prompt
cd ...ubertool_ecorest
celery -A celery_qed.tasks worker -Q sam -c 1 --loglevel=DEBUG -n sam_worker