Skip to content

Instantly share code, notes, and snippets.

@ssghost
Created June 1, 2025 13:06
Show Gist options
  • Select an option

  • Save ssghost/4a37cebb5f9ab758a41a2ab5ad0cf119 to your computer and use it in GitHub Desktop.

Select an option

Save ssghost/4a37cebb5f9ab758a41a2ab5ad0cf119 to your computer and use it in GitHub Desktop.

Revisions

  1. ssghost created this gist Jun 1, 2025.
    5 changes: 5 additions & 0 deletions sdapi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/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 &