13 lines
231 B
Bash
Executable File
13 lines
231 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ ! -d .venv ]; then
|
|
python3 -m venv .venv
|
|
fi
|
|
|
|
. .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
exec uvicorn app.main:app --reload --host 0.0.0.0 --port 8094
|