mirror of
https://github.com/vee1e/bulk-questionnaire-upload.git
synced 2026-09-01 09:50:06 +00:00
fix: run.sh for mac
This commit is contained in:
parent
0365307497
commit
a5286cbb48
1 changed files with 2 additions and 1 deletions
3
run.sh
3
run.sh
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
PROJECT_ROOT="/home/verma/Projects/bulk-questionnaire-upload"
|
||||
PROJECT_ROOT="/Users/verma/Projects/bulk-questionnaire-upload"
|
||||
FRONTEND_PATH="$PROJECT_ROOT/frontend"
|
||||
BACKEND_PATH="$PROJECT_ROOT/backend"
|
||||
SESSION_NAME="dev-project"
|
||||
|
|
@ -20,6 +20,7 @@ if ! tmux has-session -t "$SESSION_NAME"; then
|
|||
tmux send-keys -t "$SESSION_NAME:0.1" "uvicorn main:app --reload" C-m
|
||||
|
||||
tmux attach-session -t "$SESSION_NAME"
|
||||
open "http://localhost:4200"
|
||||
else
|
||||
echo "Tmux session '$SESSION_NAME' already exists. Attaching..."
|
||||
tmux attach-session -t "$SESSION_NAME"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue