setup-pwa-studio 387 B

123456789
  1. #!/bin/bash
  2. echo "Install NodeJS and Yarn on host machine, otherwise setup will fail"
  3. BASE_URL=${1:-master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud}
  4. git clone https://github.com/magento/pwa-studio.git
  5. cd pwa-studio
  6. yarn install
  7. yarn buildpack create-custom-origin packages/venia-concept
  8. MAGENTO_BACKEND_URL="https://$BASE_URL/" yarn buildpack create-env-file packages/venia-concept