1 Star 3 Fork 0

Huterox/AutoDevOps-oups

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run.sh 622 Bytes
一键复制 编辑 原始数据 按行查看 历史
Huterox 提交于 2024-08-09 17:41 . add:pakeage command
#!/usr/bin/env bash
function get_python3() {
if command -v python3 &> /dev/null
then
echo "python3"
else
echo "Python3 not found. Please install Python3.7 or higher."
exit 1
fi
}
PYTHON_CMD=$(get_python3)
if $PYTHON_CMD -c "import sys; sys.exit(sys.version_info < (3, 7))"; then
echo Installing missing packages...
$PYTHON_CMD -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt
else
echo "Python 3.7 or higher is required to run App."
exit 1
fi
# run the command below to start the app
streamlit run /app/main.py --server.port=8080
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Huterox/auto-dev-ops-oups.git
git@gitee.com:Huterox/auto-dev-ops-oups.git
Huterox
auto-dev-ops-oups
AutoDevOps-oups
master

搜索帮助