(improvement)(chat) deal webapp copy in start (#220)

This commit is contained in:
lexluo09
2023-10-13 21:11:05 +08:00
committed by GitHub
parent 82ab9e3a6a
commit 6afb2f0914
3 changed files with 10 additions and 10 deletions

View File

@@ -2,10 +2,6 @@
set -x
sbinDir=$(cd "$(dirname "$0")"; pwd)
baseDir=$(cd "$sbinDir/.." && pwd -P)
runtimeDir=$baseDir/../runtime
buildDir=$baseDir/build
chmod +x $sbinDir/supersonic-common.sh
source $sbinDir/supersonic-common.sh
@@ -37,6 +33,7 @@ mv supersonic-webapp webapp
cp -fr webapp ../../launchers/semantic/target/classes
cp -fr webapp ../../launchers/chat/target/classes
cp -fr webapp ../../launchers/standalone/target/classes
rm -fr ${buildDir}/webapp
#5. build backend python modules
echo "start installing python modules with pip: ${pip_path}"
@@ -49,5 +46,3 @@ rm -fr $runtimeDir/*
moveAllToRuntime
setEnvToWeb chat
setEnvToWeb semantic
rm -fr ${buildDir}/webapp