README-usage.bash 892 B

1234567891011121314151617181920212223242526
  1. ## NOTE
  2. echo "执行:构建调试" \
  3. && project_path="/media/nvidia/nvme0n1/server/repositories/repositories/SRI-SCOUT.SCOUT-cpp/environment/develop" \
  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 devzw-scout-develop bash
  8. echo "执行:停服调试" \
  9. && project_path="/media/nvidia/nvme0n1/server/repositories/repositories/SRI-SCOUT.SCOUT-cpp/environment/develop" \
  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 devzw-scout-develop bash
  14. echo "执行:进入调试" \
  15. && project_path="/media/nvidia/nvme0n1/server/repositories/repositories/SRI-SCOUT.SCOUT-cpp/environment/develop" \
  16. && cd ${project_path} \
  17. && sudo docker exec -it devzw-scout-develop bash