push.sh 325 B

1234567891011121314151617
  1. npm run build
  2. rm -rf ../jrvueSource
  3. mkdir ../jrvueSource
  4. cp -r dist/ build/ config/ package.json run.sh ../jrvueSource
  5. scp -r ../jrvueSource/ jrvue:/usr/src
  6. ssh -tt ytbjdocker.finfrontvue << start
  7. pkill node
  8. cd /usr/src/jrvueSource
  9. rm -rf ./log.log
  10. cnpm i
  11. nohup npm run start &> log.log & exit
  12. start