mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 05:29:26 -02: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:
|
dbshell:
|
||||||
sudo -u postgres psql -d awx-dev
|
sudo -u postgres psql -d awx-dev
|
||||||
|
|
||||||
server:
|
server_noattach:
|
||||||
tmux new-session -d -s tower 'exec make runserver'
|
tmux new-session -d -s tower 'exec make runserver'
|
||||||
tmux rename-window 'Tower'
|
tmux rename-window 'Tower'
|
||||||
tmux select-window -t tower:0
|
tmux select-window -t tower:0
|
||||||
@@ -122,6 +122,8 @@ server:
|
|||||||
tmux select-pane -U
|
tmux select-pane -U
|
||||||
tmux split-window -v 'exec make receiver'
|
tmux split-window -v 'exec make receiver'
|
||||||
tmux split-window -h 'exec make taskmanager'
|
tmux split-window -h 'exec make taskmanager'
|
||||||
|
|
||||||
|
server: server_noattach
|
||||||
tmux -2 attach-session -t tower
|
tmux -2 attach-session -t tower
|
||||||
|
|
||||||
# Run the built-in development webserver (by default on http://localhost:8013).
|
# Run the built-in development webserver (by default on http://localhost:8013).
|
||||||
|
|||||||
Reference in New Issue
Block a user