download 341 B

12345678910111213
  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/setup-composer-auth
  9. bin/clinotty composer create-project --repository=https://repo.magento.com/ magento/project-"${EDITION}"-edition="${VERSION}" .