deploy_chuji_server.sh 230 B

12345678910111213141516
  1. #!/bin/bash
  2. cd /var/www/chuji_server/
  3. git reset --hard
  4. git pull
  5. chmod -R 777 ./runtime ./storage
  6. rm -f composer.lock
  7. composer install
  8. # 重启守护
  9. supervisorctl restart chuji_server_hyperf:*
  10. echo "Chuji Hyperf部署完成"