open-webui/backend/beyond_the_loop/dev.sh
2025-02-25 23:30:08 +01:00

13 lines
523 B
Bash
Executable File

#!/bin/bash
# Set the Python path to include the backend directory
export PYTHONPATH="/Users/philszalay/Documents/code/beyond-the-loop/backend:$PYTHONPATH"
PORT="${PORT:-8080}"
# Start the LiteLLM container in the background
cd /Users/philszalay/Documents/code/beyond-the-loop && docker-compose -f docker-compose-local.yaml up -d litellm
# Start the uvicorn server
cd /Users/philszalay/Documents/code/beyond-the-loop/backend && uvicorn open_webui.main:app --port $PORT --host 0.0.0.0 --forwarded-allow-ips '*' --reload