mirror of
https://github.com/ansible/awx.git
synced 2026-01-31 17:18:59 -03:30
Update server makefile behavior with two mechanisms one of which will
start the development services in tmux but not attach to the session
This commit is contained in:
4
Makefile
4
Makefile
@@ -113,7 +113,7 @@ dbchange:
|
||||
dbshell:
|
||||
sudo -u postgres psql -d awx-dev
|
||||
|
||||
server:
|
||||
server_noattach:
|
||||
tmux new-session -d -s tower 'exec make runserver'
|
||||
tmux rename-window 'Tower'
|
||||
tmux select-window -t tower:0
|
||||
@@ -122,6 +122,8 @@ server:
|
||||
tmux select-pane -U
|
||||
tmux split-window -v 'exec make receiver'
|
||||
tmux split-window -h 'exec make taskmanager'
|
||||
|
||||
server: server_noattach
|
||||
tmux -2 attach-session -t tower
|
||||
|
||||
# Run the built-in development webserver (by default on http://localhost:8013).
|
||||
|
||||
Reference in New Issue
Block a user