mirror of
https://github.com/hoshikawa2/first_contas.git
synced 2026-07-09 10:14:20 +00:00
first commit
This commit is contained in:
15
scripts/start_legacy_tim_mcp.sh
Normal file
15
scripts/start_legacy_tim_mcp.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user