onekey.sh 299 B

1234567891011121314
  1. #!/bin/bash
  2. # 建立文件夹
  3. mkdir -p /root/sd/pywork/ && cd /root/sd/pywork/
  4. # 下载仓库包
  5. git clone https://gitcode.net/qq_32394351/dr_py.git
  6. # 进入目录
  7. cd dr_py
  8. # 升级pip包
  9. #pip install --upgrade pip
  10. # 安装依赖
  11. pip install -r requirements.txt
  12. # 启动项目
  13. nohup bash ./app.sh 0