download 432 B

1234567891011121314
  1. #!/bin/bash
  2. set -o errexit
  3. [ -z "$1" ] && echo "Please specify the version to download (ex. 2.0.0)" && exit
  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. sleep 5 #Ensure containers are started...
  9. bin/clinotty composer create-project --repository=https://repo.magento.com/ --ignore-platform-reqs magento/project-$edition-edition="$1" .