Browse Source

add pm2

master
zeus 3 years ago
parent
commit
5d50ecd7ef
  1. 8
      playground-client/install-npm.sh

8
playground-client/install-npm.sh

@ -1,7 +1,11 @@
#!/bin/sh #!/bin/sh
BASEDIR=$(dirname $0)
echo $BASEDIR
npm i npm i
npm cache clean --force npm cache clean --force
cp VuetableCssConfig.js node_modules/vuetable-2/src/components cp $BASEDIR/VuetableCssConfig.js $BASEDIR/node_modules/vuetable-2/src/components
cp playground.config.js /home/node cp $BASEDIR/playground.config.js /home/node
pm2-runtime /home/node/playground.config.js pm2-runtime /home/node/playground.config.js

Loading…
Cancel
Save