setup-pwa-studio 410 B

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