4.Installation Process ↑ Back to Top
For the Process of Installation of PWA Studio Theme for Magento 2, After Generating the Order you need to download the theme package file made available.
( Theme_Package.zip )
- After Downloading the package you need to Extract the package, where you will get two folders (Ced_PwaApi and pwa-studio)
- Move the Content of the Folder Ced_PwaApi (pub & app) to Magento 2 Root Directory.
After Successful Moving the file to Magento Root Directory, You need to Run the following Command in Magento Root
First : php bin/magento setup:upgrade
Second : php bin/magento setup:static-content:deploy
Third : php bin/magento setup:di:compile
After Running These Commands make sure you have NodeJS and Yarn installed in your system.
If not available, you need to install NodeJS (10.14.1 LTS or above) and Yarn (1.13.0 or Above)
Now from the package Downloaded, place pwa_studio folder in parallel of Magento 2 root directory, and run the below command inside PWA Studio directory
First: yarn install
Second: yarn run build
Now Navigate to pwa_studio/packages/ced-concept/.env in your Magento and in .env Update your Magento Store URL in place of MAGENTO_BACKEND_URL
Now Run the following command
First: yarn run build
Second: yarn run stage:ced