Update run scripts for executable env

Make run scripts executable and use the specified Python path for uvicorn.
This commit is contained in:
dsyoon
2026-01-30 14:48:31 +09:00
parent 7c226848cb
commit 373299e0cb
2 changed files with 1 additions and 3 deletions

0
client/run.sh Normal file → Executable file
View File

4
server/run.sh Normal file → Executable file
View File

@@ -11,7 +11,5 @@ if lsof -ti tcp:"${PORT}" >/dev/null 2>&1; then
sleep 1 sleep 1
fi fi
python -m pip install -r requirements.txt PORT="${PORT}" nohup /home/dsyoon/workspace/miniconda3/envs/ncue/bin/python -m uvicorn server.main:app --host 0.0.0.0 --port "${PORT}" > server.log 2>&1 &
PORT="${PORT}" nohup python -m uvicorn server.main:app --host 0.0.0.0 --port "${PORT}" > server.log 2>&1 &
echo "Server started (PID: $!). Logs: server.log" echo "Server started (PID: $!). Logs: server.log"