mirror of
https://github.com/fsecada01/Pygentic-AI.git
synced 2025-06-19 05:26:04 +00:00
11 lines
286 B
Bash
Executable File
11 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
|
|
__dir="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
|
|
cd ${__dir}/../.. || exit
|
|
source .venv/bin/activate
|
|
cd src || exit
|
|
gunicorn app:app -w ${WORKERS} -k uvicorn.workers.UvicornWorker \
|
|
--timeout "${TIMEOUT}" \
|
|
--forwarded-allow-ips "*" \
|
|
-b 0.0.0.0:"${PORT}"
|