Skip to content
Newer
Older
100644 23 lines (15 sloc) 774 Bytes
a08f372 @heynemann Stream working with async redis
authored Jul 10, 2012
1 # %%%%%%%%%%%%%% SERVICE %%%%%%%%%%%%%%
2 run:
b7637be @heynemann Hopefully helps people in setting r3 up. Should fix #2
authored Aug 13, 2012
3 @PYTHONPATH=$$PYTHONPATH:.:./test python r3/app/server.py --redis-port=7778 --redis-pass=r3 --config-file="./test/app_config.py" --debug
92abcca @heynemann Changes
authored Jul 10, 2012
4
88d3692 @heynemann Web interface
authored Jul 11, 2012
5
6 # %%%%%%%%%%%%%% WORKER %%%%%%%%%%%%%%
92abcca @heynemann Changes
authored Jul 11, 2012
7 worker:
166c309 @heynemann Added configuration support for input streams and reducers
authored Jul 16, 2012
8 @PYTHONPATH=$$PYTHONPATH:. python r3/worker/mapper.py --mapper-key="${KEY}" --mapper-class="test.count_words_mapper.CountWordsMapper" --redis-port=7778 --redis-pass=r3
c45f05f @heynemann bidirectional communication with redis
authored Jul 9, 2012
9
88d3692 @heynemann Web interface
authored Jul 11, 2012
10
11 # %%%%%%%%%%%%%% WEB %%%%%%%%%%%%%%
12 web:
3d8975e @heynemann Server infrastructure
authored Jul 16, 2012
13 @PYTHONPATH=$$PYTHONPATH:.:./test python r3/web/server.py --redis-port=7778 --redis-pass=r3 --config-file=./r3/web/config.py --debug
88d3692 @heynemann Web interface
authored Jul 11, 2012
14
15
c45f05f @heynemann bidirectional communication with redis
authored Jul 10, 2012
16 # %%%%%%%%%%%%%% REDIS %%%%%%%%%%%%%%
17 kill_redis:
18 @ps aux | awk '(/redis-server/ && $$0 !~ /awk/){ system("kill -9 "$$2) }'
19
20 redis: kill_redis
21 @mkdir -p /tmp/r3/db
22 @redis-server redis.conf &
Something went wrong with that request. Please try again.