chore: BotOps 添加 _set.sh/_run.sh 启动脚本(与 aibox 同款)
This commit is contained in:
1 parent
c064caa3ec
commit
422ca798da
2 files changed
+9
No files matched your search
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$0")" || exit
|
||||||
|
source venv/bin/activate
|
||||||
|
exec python3 app.py $@
|
||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$0")" || exit
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
Reference in new issue
Block a user