separate scripts for workflow

This commit is contained in:
Adam Wilson
2025-05-19 19:31:55 -06:00
parent a67a28e1cb
commit 09fc8b5087
7 changed files with 312 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
set -e # Exit on error
echo "Starting API server with logging..."
nohup python -m src.api.controller > logs/api.log 2>&1 &
API_PID=$!
echo "API server started with PID: $API_PID"
# Save PID to file so it can be accessed by other scripts
echo $API_PID > api_pid.txt