push-dev.sh 359 B

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