Working dev env ... finally
This commit is contained in:
parent
bc6e8ce9ee
commit
35a9ae3275
3
build.sh
Normal file → Executable file
3
build.sh
Normal file → Executable file
@ -27,6 +27,9 @@ cd ..
|
|||||||
|
|
||||||
source ./$VENV_DIR/bin/activate
|
source ./$VENV_DIR/bin/activate
|
||||||
|
|
||||||
|
# Some extra required libs ...
|
||||||
|
pip install librabbitmq
|
||||||
|
|
||||||
for file in $SOURCE_DIR/*
|
for file in $SOURCE_DIR/*
|
||||||
do
|
do
|
||||||
cd $file
|
cd $file
|
||||||
|
8
screenrc
8
screenrc
@ -1,9 +1,7 @@
|
|||||||
sessionname tach
|
sessionname tach
|
||||||
hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
|
hardstatus alwayslastline '%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'
|
||||||
screen -t bash bash
|
screen -t bash bash
|
||||||
screen -t gen bash
|
screen -t gen bash
|
||||||
stuff "cd git/notigen/bin; python event_pump.py
|
stuff "cd git/notigen/bin; python event_pump.py\r"
|
||||||
"
|
|
||||||
screen -t yagi bash
|
screen -t yagi bash
|
||||||
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf
|
stuff "cd git/yagi/bin; ./yagi-event --config ../../../shoebox.conf\r"
|
||||||
"
|
|
||||||
|
@ -13,8 +13,7 @@ user = guest
|
|||||||
password = guest
|
password = guest
|
||||||
port = 5672
|
port = 5672
|
||||||
vhost = /
|
vhost = /
|
||||||
poll_delay = 1
|
#poll_delay = 1
|
||||||
exchange_name = "nova"
|
|
||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
logfile = yagi.log
|
logfile = yagi.log
|
||||||
@ -24,11 +23,11 @@ default_level = WARN
|
|||||||
queues = monitor.info
|
queues = monitor.info
|
||||||
|
|
||||||
[consumer:monitor.info]
|
[consumer:monitor.info]
|
||||||
apps = yagi.handler.shoebox
|
apps = yagi.handler.shoebox_handler.ShoeboxHandler
|
||||||
exchange = nova
|
exchange = monitor
|
||||||
exchange_type = topic
|
exchange_type = topic
|
||||||
routing_key = monitor.info
|
routing_key = monitor.info
|
||||||
durable = False
|
durable = True
|
||||||
max_messages = 100
|
max_messages = 100
|
||||||
|
|
||||||
[shoebox]
|
[shoebox]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user