Skip to content

Instantly share code, notes, and snippets.

@ssghost
Created June 1, 2025 13:06
Show Gist options
  • Save ssghost/4a37cebb5f9ab758a41a2ab5ad0cf119 to your computer and use it in GitHub Desktop.
Save ssghost/4a37cebb5f9ab758a41a2ab5ad0cf119 to your computer and use it in GitHub Desktop.
#!/bin/bash
PROJECT_DIR="~/Desktop/stablecpp-api"
UVICORN_PATH="${PROJECT_DIR}/.venv/bin/uvicorn"
cd "$PROJECT_DIR" || exit 1
"$UVICORN_PATH" main:app --host 0.0.0.0 --port 11011 > ${PROJECT_DIR}/automator_sdapi.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment