README-usage.bash 825 B

1234567891011121314151617181920
  1. ## NOTE
  2. echo "操作:启动调试" \
  3. && project_path="/media/nvidia/nvme0n1/server/repositories/repositories/SRI.vehicle-demo/environment/u20" \
  4. && cd ${project_path} \
  5. && sudo docker-compose --file compose.yml down \
  6. && sudo docker-compose --file compose.yml up --detach --build \
  7. && sudo docker exec -it devzhq bash
  8. echo "操作:停服调试" \
  9. && project_path="/media/nvidia/nvme0n1/server/repositories/repositories/SRI.vehicle-demo/environment/u20" \
  10. && cd ${project_path} \
  11. && sudo docker-compose --file compose.yml down \
  12. && sudo docker-compose --file compose.yml up --detach \
  13. && sudo docker exec -it devzhq bash
  14. echo "操作:进入调试" \
  15. && project_path="/media/nvidia/nvme0n1/server/repositories/repositories/SRI.vehicle-demo/environment/u20" \
  16. && cd ${project_path} \
  17. && sudo docker exec -it devzhq bash