bugfix
This commit is contained in:
parent
1743117ef2
commit
90559b4761
10
build.sh
10
build.sh
@ -19,18 +19,26 @@ do
|
|||||||
$cdir/py3/bin/pip install .
|
$cdir/py3/bin/pip install .
|
||||||
done
|
done
|
||||||
dir=$(pwd)
|
dir=$(pwd)
|
||||||
for m in appbase rbac accounting llmage platformbiz msp cpcc pf_pay filemgr dapi uapi rag
|
for m in appbase rbac accounting llmage platformbiz msp cpcc pf_pay filemgr dapi uapi rag charge
|
||||||
do
|
do
|
||||||
echo "install $m module..."
|
echo "install $m module..."
|
||||||
cd $dir
|
cd $dir
|
||||||
git clone https://git.opencomputing.cn/yumoqing/$m
|
git clone https://git.opencomputing.cn/yumoqing/$m
|
||||||
cd $dir/$m
|
cd $dir/$m
|
||||||
$cdir/py3/bin/pip install .
|
$cdir/py3/bin/pip install .
|
||||||
|
if [ -d $dir/$m/models ];then
|
||||||
cd $dir/$m/models
|
cd $dir/$m/models
|
||||||
xls2ddl mysql . > mysql.ddl.sql
|
xls2ddl mysql . > mysql.ddl.sql
|
||||||
mysql -h db -utest -ptest123 sage < mysql.ddl.sql
|
mysql -h db -utest -ptest123 sage < mysql.ddl.sql
|
||||||
|
fi
|
||||||
|
if [ -d $dir/$m/json ];then
|
||||||
cd $dir/$m/json
|
cd $dir/$m/json
|
||||||
./build.sh
|
./build.sh
|
||||||
|
fi
|
||||||
|
if [ -d $dir/$m/data ]; then
|
||||||
|
cd $dir/$m/data
|
||||||
|
dbloader $dir sage data.xlsx
|
||||||
|
fi
|
||||||
rm $cdir/wwwroot/$m
|
rm $cdir/wwwroot/$m
|
||||||
ln -s $dir/$m/wwwroot $cdir/wwwroot/$m
|
ln -s $dir/$m/wwwroot $cdir/wwwroot/$m
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user