Skip to content

Commit

Permalink
[#360] fix script launchBack
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Mar 2, 2020
1 parent 5289463 commit 840ee4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launchBack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

VERSION=$(cat $DIR/pom.xml | grep '<version>[0-9.]\+' | sed 's/<version>\([0-9.]\+\)<\/version>/\1/g' | tr -d '[:space:]')
CLASSPATH=$DIR/datashare-dist/target/datashare-dist-${VERSION}.jar
CLASSPATH=$DIR/datashare-dist/target/datashare-dist-${VERSION}-all.jar

export DS_DOCKER_PREVIEW_HOST="http://localhost:5000"
export DS_DOCKER_BACK_HOST="http://localhost:$(docker ps|grep 8080|sed 's/.*0.0.0.0:\(.*\)->8080.*/\1/g')"
Expand Down

0 comments on commit 840ee4f

Please sign in to comment.