Ein für Shopware 6 vorbereitet Systemmanagment.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #!/bin/bash
  2. ### DO NOT EDIT THIS FILE
  3. source "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &> /dev/null && pwd)/includes/bash_header"
  4. function usage {
  5. echo
  6. echoMainTitle "Install Sumedia Project Manager"
  7. echo
  8. echoSubTitle "Usage:"
  9. echo
  10. echo "install-project-manager"
  11. echo
  12. echo "--help Prints this message"
  13. echo
  14. }
  15. help="$(getParameter "--help" false "$@")"
  16. if [ "$help" == true ]
  17. then
  18. usage
  19. exit
  20. fi
  21. echo
  22. echoMainTitle "Install Sumedia Project Manager"
  23. echo
  24. echoSubTitle "Please configure Sumedia Project Manager"
  25. echo
  26. workspaces_dir="$(readConsole "Workspaces dir" "Invalid selection" true "$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." &> /dev/null && pwd)")"
  27. apache_httpdocs="$(readConsole "Local Apache httpdocs dir (optional)" "Invalid selection" true)"
  28. setConfig "project_manager.workspaces_dir" "$workspaces_dir"
  29. setConfig "project_manager.apache_httpdocs" "$apache_httpdocs"
  30. postScript "$project_manager_dir/bin/postscripts/commands/install-project-manager"
  31. echo
  32. echoSuccess "Project Manager has been installed."
  33. echo