mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-02-12 22:52:51 +00:00
API: test action
This commit is contained in:
2
.github/scripts/start_api.sh
vendored
2
.github/scripts/start_api.sh
vendored
@@ -4,7 +4,7 @@ set -e # Exit on error
|
||||
cd $GITHUB_WORKSPACE
|
||||
|
||||
echo "Starting API server with logging..."
|
||||
nohup python -m src.api.server > logs/api.log 2>&1 &
|
||||
nohup uvicorn src.api.http_api:app --host 0.0.0.0 --port 9999 > logs/api.log 2>&1 &
|
||||
API_PID=$!
|
||||
echo "API server started with PID: $API_PID"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user