mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -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:
parent
44bb12c5c3
commit
21d0b6301e
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).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user