Browse Source

add pm2

master
zeus 3 years ago
parent
commit
9297f43128
  1. 4
      playground-client/install-npm.sh

4
playground-client/install-npm.sh

@ -1,11 +1,15 @@
#!/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
cd $cpwd
pm2-runtime /home/node/playground.config.js

Loading…
Cancel
Save