Skip to content
Permalink
Browse files
Init doris manager frontend (#5)
* [init] init doris manager frontend
  • Loading branch information
colordove committed Mar 15, 2022
1 parent f7374b0 commit 46e6f364d1c463045de4484b44d2ba25fe91fc73
Showing 299 changed files with 21,097 additions and 21 deletions.
@@ -18,35 +18,37 @@

echo "build doris manager home path"

#echo "build doris manager web start"
#cd doris-manager
#npm install
#npm run build
#echo "build doris manager web end"
#
#cd ../
#echo "copy doris manager web resources to server"
#rm -rf manager-server/src/main/resources/web-resource
#mv doris-manager/dist manager-server/src/main/resources/web-resource
#echo "copy doris manager web resources to server end"
echo "build doris manager frontend start"
cd frontend
npm install
npm run build
echo "build doris manager frontend end"

cd ../
echo "copy doris manager web resources to server"
rm -rf manager/manager-server/src/main/resources/web-resource
mv frontend/dist manager/manager-server/src/main/resources/web-resource
echo "copy doris manager web resources to server end"

echo "build doris manager server start"
rm -rf output
rm -rf doris-manager-1.0.0.tar.gz
mkdir -p output
mkdir -p output/server/lib
cd manager
set -e
mvn clean install
echo "build doris manager server end"

echo "copy to output package start"
rm -rf output
rm -rf doris-manager-1.0.0.tar.gz
mkdir -p output
mkdir -p output/server/lib
mv manager-server/target/manager-server-1.0.0.jar output/server/lib/doris-manager.jar