install.sh 460 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. echo "=========================="
  3. echo
  4. echo "Nginx UI Install Shell"
  5. echo "Copyright (c) 0xJacky 2021"
  6. echo
  7. echo "=========================="
  8. echo "Compiling api server..."
  9. cd server || exit 1
  10. go build -o nginx-ui-server main.go
  11. echo "build completed"
  12. cd ..
  13. echo "==============="
  14. echo "frontend dist path: nginx-ui-frontend/dist"
  15. echo "start server, run server/nginx-ui-server"
  16. echo "start server at background, run nohup ./nginx-ui-server &"