Add a new mechanism for automagically creating a tmux session, splitting it into panes, and starting each Tower needed tower service... This is so you don't have to start each one manually

This commit is contained in:
Matthew Jones 2014-03-19 13:51:48 -04:00
parent 7147a9ccf9
commit c9340cf5f1

View File

@ -108,6 +108,15 @@ dbchange:
dbshell:
sudo -u postgres psql -d awx-dev
server:
tmux new-session -d -s tower 'exec make runserver'
tmux rename-window 'Tower'
tmux select-window -t tower:0
tmux split-window -v 'exec make celeryd'
tmux split-window -v 'exec make receiver'
tmux split-window -h 'exec make taskmanager'
tmux -2 attach-session -t tower
# Run the built-in development webserver (by default on http://localhost:8013).
runserver:
$(PYTHON) manage.py runserver