3

Magento2: How to install PWA Studio in windows.Can you explain in step by step process. What are libraries and tools we need ? I need to install it in windows?

2
1

Now clone pwa-studio repository

git clone https://github.com/magento-research/pwa-studio.git

You have to clone this repository in magento root directory ex: /var/www/html/magento

You will see the pwa-studio directory in /var/www/html/magento. Enter into this directoy:

cd pwa-studio/

Specify the Magento backend server in .env file. you can see the .env.dist file in /var/www/html/magento/pwa-studio/packages/venia-concept/ direcoty. If you are not able see, enable show hidden files. Now create .env file from this env.dist

cp packages/venia-concept/.env.dist packages/venia-concept/.env

Open this .env file and find MAGENTO_BACKEND_URL. Here configure your local Magento 2 instance, my case it is:

MAGENTO_BACKEND_URL="https://magento2-pwa.com/"

Find the deployVeniaSampleData.sh file in /var/www/html/mage0/pwa-studio/packages/venia-concept/ directory. and copy this file in your Magento root directory. Now it must look like /var/www/html/magento/deployVeniaSampleData.sh Now run:

bash deployVeniaSampleData.sh

After successful installation run:

bin/magento setup:upgrade
bin/magento indexer:reindex
bin/magento cache:flush

Reference: https://webkul.com/blog/magento2-3-pwa-studio-setup/

I hope this will help

6
  • Is this for windows?
    – User0434
    Aug 7 '19 at 10:15
  • 1
    No. This is not for windows. Its worth pointing out at this stage that magento 2 is not compatible with windows. You can get it working but there are a lot more steps to follow. Aug 7 '19 at 19:11
  • @DominicXigen Can you please suggests steps in windows..bcoz am using windows machine
    – User0434
    Aug 8 '19 at 5:13
  • @Muhammad...can you explain in windows
    – User0434
    Aug 8 '19 at 11:29
  • Please read the question carefully Aug 30 '19 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.