download 314 B

1234567891011
  1. #!/bin/bash
  2. set -o errexit
  3. VERSION=${1:-2.4.2}
  4. EDITION=${2:-community}
  5. bin/stop
  6. docker-compose -f docker-compose.yml up -d
  7. [ $? != 0 ] && echo "Failed to start Docker services" && exit
  8. bin/clinotty composer create-project --repository=https://repo.magento.com/ magento/project-${EDITION}-edition="${VERSION}" .