From 5d50ecd7ef43f7f2103f94163d9ce53f48c396bc Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 20 Nov 2021 00:03:31 +0200 Subject: [PATCH] add pm2 --- playground-client/install-npm.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playground-client/install-npm.sh b/playground-client/install-npm.sh index 8e63ffa..f8855d4 100755 --- a/playground-client/install-npm.sh +++ b/playground-client/install-npm.sh @@ -1,7 +1,11 @@ #!/bin/sh +BASEDIR=$(dirname $0) + +echo $BASEDIR + npm i npm cache clean --force -cp VuetableCssConfig.js node_modules/vuetable-2/src/components -cp playground.config.js /home/node +cp $BASEDIR/VuetableCssConfig.js $BASEDIR/node_modules/vuetable-2/src/components +cp $BASEDIR/playground.config.js /home/node pm2-runtime /home/node/playground.config.js