From 311242c953ad1f2ba8292944dd4e8bbd260bcb92 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 23 Jul 2025 17:41:42 +0800 Subject: [PATCH] bugfix --- README.md | 19 ++++++++++++++++++- requirements.txt | 5 ----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4848810..bd84f72 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,12 @@ ## 安装 执行下面的命令 ``` -git clone https://git.opencomputing.cn/yumoqing/kyrag +dir=$(pwd) +git clone https://git.opencomputing.cn/yumoqing/appbase +git clone https://git.opencomputing.cn/yumoqing/rbac +git clone https://git.opencomputing.cn/yumoqing/filemgr +git clone https://git.opencomputing.cn/yumoqing/rag +git clone https://git.opencomputing.cn/yumoqing/dapi cd kyrag cdir=$(pwd) uname=$(id -un) @@ -11,6 +16,18 @@ gname=$(id -gn) python3 -m venv py3 source py3/bin/activate pip install -r requirements.txt +for m in appbase rbac filemgr rag dapi +do + cd $dir/$m + pip install . + cd models + xls2ddl mysql . > mysql.ddl.sql + mysql -h db -utest -ptest123 kyrag < mysql.ddl.sql + cd ../json + ./build + ln -s $dir/$m/wwwroot $cdir/wwwroot/$m +done +cd $cdir cat > $cdir/kyrag.service <