From e97c76a8c5ba66eefd8d4135d5b117f9f2a6026b Mon Sep 17 00:00:00 2001 From: Mantra Date: Fri, 6 Dec 2024 18:55:10 +0000 Subject: [PATCH] add copy static files script --- scripts/copy-static-files.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/copy-static-files.sh diff --git a/scripts/copy-static-files.sh b/scripts/copy-static-files.sh new file mode 100755 index 00000000..9115c812 --- /dev/null +++ b/scripts/copy-static-files.sh @@ -0,0 +1,3 @@ +ROOT=$(realpath $(dirname $0)/..) +PUBLIC_FOLDER=$ROOT/app/server/public +cp $1/index.html $PUBLIC_FOLDER && cp -r $1/files $PUBLIC_FOLDER && cp -r $1/help $PUBLIC_FOLDER