bugfix
This commit is contained in:
parent
749b76eb51
commit
311242c953
19
README.md
19
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 <<EOF
|
||||
[Unit]
|
||||
Wants=systemd-networkd.service
|
||||
|
||||
@ -1,8 +1,3 @@
|
||||
git+https://git.opencomputing.cn:yumoqing/apppublic
|
||||
git+https://git.opencomputing.cn:yumoqing/sqlor
|
||||
git+https://git.opencomputing.cn:yumoqing/ahserver
|
||||
git+https://git.opencomputing.cn:yumoqing/appbase
|
||||
git+https://git.opencomputing.cn:yumoqing/rbac
|
||||
git+https://git.opencomputing.cn:yumoqing/rag
|
||||
git+https://git.opencomputing.cn:yumoqing/dapi
|
||||
git+https://git.opencomputing.cn:yumoqing/filemgr
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user