23 lines
423 B
Bash
23 lines
423 B
Bash
#!/bin/bash
|
|
# Mini-OpenClaw Backend Startup Script
|
|
# 自动禁用代理并启动后端
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
# 禁用所有代理设置
|
|
export NO_PROXY="*"
|
|
export no_proxy="*"
|
|
unset HTTP_PROXY
|
|
unset HTTPS_PROXY
|
|
unset http_proxy
|
|
unset https_proxy
|
|
unset ALL_PROXY
|
|
unset all_proxy
|
|
|
|
# 激活虚拟环境
|
|
source venv/Scripts/activate
|
|
|
|
# 启动后端
|
|
echo "🚀 Starting mini-OpenClaw backend (proxy disabled)..."
|
|
python app.py
|