mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
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:
parent
7147a9ccf9
commit
c9340cf5f1
9
Makefile
9
Makefile
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user