Working dev env ... finally

This commit is contained in:
Sandy Walsh 2014-05-27 21:08:46 +00:00
parent bc6e8ce9ee
commit 35a9ae3275
3 changed files with 10 additions and 10 deletions

3
build.sh Normal file → Executable file
View 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

View File

@ -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"
"

View File

@ -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]