Compare commits
No commits in common. "69922a3b3d502fa8213aef1f351db5a930892b9d" and "26fd13dfb013770386f58c856baafe480510b68c" have entirely different histories.
69922a3b3d
...
26fd13dfb0
20
build.sh
20
build.sh
@ -19,26 +19,18 @@ do
|
||||
$cdir/py3/bin/pip install .
|
||||
done
|
||||
dir=$(pwd)
|
||||
for m in appbase rbac accounting llmage platformbiz msp cpcc pf_pay filemgr dapi uapi rag charge
|
||||
for m in appbase rbac accounting llmage platformbiz msp cpcc pf_pay filemgr dapi uapi rag
|
||||
do
|
||||
echo "install $m module..."
|
||||
cd $dir
|
||||
git clone https://git.opencomputing.cn/yumoqing/$m
|
||||
cd $dir/$m
|
||||
$cdir/py3/bin/pip install .
|
||||
if [ -d $dir/$m/models ];then
|
||||
cd $dir/$m/models
|
||||
xls2ddl mysql . > mysql.ddl.sql
|
||||
mysql -h db -utest -ptest123 sage < mysql.ddl.sql
|
||||
fi
|
||||
if [ -d $dir/$m/json ];then
|
||||
cd $dir/$m/json
|
||||
./build.sh
|
||||
fi
|
||||
if [ -d $dir/$m/data ]; then
|
||||
cd $dir/$m/data
|
||||
dbloader $dir sage data.xlsx
|
||||
fi
|
||||
cd $dir/$m/models
|
||||
xls2ddl mysql . > mysql.ddl.sql
|
||||
mysql -h db -utest -ptest123 sage < mysql.ddl.sql
|
||||
cd $dir/$m/json
|
||||
./build.sh
|
||||
rm $cdir/wwwroot/$m
|
||||
ln -s $dir/$m/wwwroot $cdir/wwwroot/$m
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user