mirror of
https://github.com/fsecada01/Pygentic-AI.git
synced 2025-06-15 11:36:03 +00:00
12 lines
314 B
Bash
Executable File
12 lines
314 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
|
|
# python -m backend.utils
|
|
gunicorn main:app -w ${WORKERS} -k uvicorn.workers.UvicornWorker \
|
|
--timeout "${TIMEOUT}" \
|
|
--forwarded-allow-ips "*" \
|
|
-b 0.0.0.0:"${PORT}"
|