mirror of
https://github.com/hoshikawa2/oci-litellm-cost-per-api.git
synced 2026-07-09 17:54:21 +00:00
first commit
This commit is contained in:
14
scripts/run_poc.sh
Normal file
14
scripts/run_poc.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cp -n .env.example .env || true
|
||||
mkdir -p storage
|
||||
|
||||
echo '1) Subindo Postgres + LiteLLM Proxy...'
|
||||
docker compose up -d
|
||||
|
||||
echo '2) Registrando virtual keys por API consumidora...'
|
||||
python src/create_litellm_keys.py
|
||||
|
||||
echo '3) Subindo simulador de APIs na porta 8080...'
|
||||
uvicorn src.api_service:app --host 0.0.0.0 --port 8080
|
||||
Reference in New Issue
Block a user