[improvement][launcher]Rename service and binary names

This commit is contained in:
jerryjzhang
2023-09-14 09:47:21 +08:00
parent 6a98ce9d28
commit b6d984475c
8 changed files with 25 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ buildDir=$baseDir/build
cd $baseDir
#1. build semantic chat service
#1. build backend java modules
rm -fr ${buildDir}/*.tar.gz
rm -fr dist
@@ -16,13 +16,13 @@ mvn -f $baseDir/../ clean package -DskipTests
#2. move package to build
cp $baseDir/../launchers/standalone/target/*.tar.gz ${buildDir}/supersonic.tar.gz
#3. build webapp
#3. build frontend webapp
chmod +x $baseDir/../webapp/start-fe-prod.sh
cd ../webapp
sh ./start-fe-prod.sh
cp -fr ./supersonic-webapp.tar.gz ${buildDir}/
#4. copy webapp to java classpath
cd $buildDir
tar xvf supersonic-webapp.tar.gz
mv supersonic-webapp webapp