Skip to content

Commit

Permalink
added file
Browse files Browse the repository at this point in the history
  • Loading branch information
IliyanID committed Sep 19, 2021
1 parent 410b590 commit ae75f81
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/desploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cd ../Front-End
npm run build

echo Removing old Build
rm -r ../Back-End/src/main/resources/public/build

echo Copying New Build
cp -R ./build ../Back-End/src/main/resources/public
cd ../Back-End
mvn package
cd target
nohup sudo java -jar Server-2.0-jar-with-dependencies.jar&

0 comments on commit ae75f81

Please sign in to comment.