This commit is contained in:
12
start.sh
Executable file
12
start.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
SESSION="project_monitor"
|
||||
|
||||
tmux new-session -d -s $SESSION
|
||||
|
||||
tmux send-keys -t $SESSION "cd backend && uvicorn backend:app --reload" C-m
|
||||
|
||||
tmux split-window -h -t $SESSION
|
||||
tmux send-keys -t $SESSION:0.1 "cd frontend && npm run dev" C-m
|
||||
|
||||
tmux attach -t $SESSION
|
||||
Reference in New Issue
Block a user