mirror of
https://github.com/hoshikawa2/first_contas.git
synced 2026-07-09 18:24:20 +00:00
16 lines
325 B
Bash
16 lines
325 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/../mcp_servers/legacy_tim_mcp"
|
|
if [ ! -d .venv ]; then
|
|
python -m venv .venv
|
|
fi
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
if [ ! -f .env ]; then
|
|
cp .env.example .env
|
|
fi
|
|
set -a
|
|
source .env
|
|
set +a
|
|
uvicorn main:app --host 0.0.0.0 --port 8100 --reload
|