部署脚本中加入 node

This commit is contained in:
William Jin 2024-09-22 21:24:51 +08:00
parent 6da40735f6
commit b7aa77de72

View File

@ -10,10 +10,13 @@ platform:
steps: steps:
- name: run - name: run
commands: commands:
- pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple -r requirements.txt
- chmod +x kill_ui.sh - chmod +x kill_ui.sh
- ./kill_ui.sh - ./kill_ui.sh
- cp ./chyoso_toolkit_ui.py /home/tmfc/apps/whisper/ - cp ./chyoso_toolkit_ui.py /home/tmfc/apps/whisper/
- cp ./requirements.txt /home/tmfc/apps/whisper/
- cd /home/tmfc/apps/whisper - cd /home/tmfc/apps/whisper
- pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple -r requirements.txt
- nohup python3 chyoso_toolkit_ui.py > output.log 2>&1 & - nohup python3 chyoso_toolkit_ui.py > output.log 2>&1 &
node:
tmfc_server:exec_runner
... ...