You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
382 B
19 lines
382 B
#!/bin/sh
|
|
|
|
BASEDIR=$(dirname $0)
|
|
cpwd=$PWD
|
|
|
|
echo $BASEDIR
|
|
|
|
cd $BASEDIR
|
|
|
|
npm i
|
|
npm cache clean --force
|
|
#cp $BASEDIR/VuetableCssConfig.js $BASEDIR/node_modules/vuetable-2/src/components
|
|
#cp $BASEDIR/playground.config.js /home/node
|
|
|
|
cp VuetableCssConfig.js node_modules/vuetable-2/src/components
|
|
cp playground.config.js /home/node
|
|
|
|
cd $cpwd
|
|
pm2-runtime /home/node/playground.config.js
|
|
|