Open drpayyne opened 3 years ago
Good idea. I think something like a bin/setup-pwa-studio-sampledata
script may work? Similar to how we have a bin/setup-pwa-studio
script https://github.com/markshust/docker-magento/blob/master/compose/bin/setup-pwa-studio
@markshust, yep! sounds right.
@markshust bin/setup-pwa-studio-sampledata needs this scipt. but this script is not there in bin folder. Have you developed this? If yes please share with us
@amitmaurya1024, unfortunately this hasn't been developed yet. If you do develop it, try to contribute it back. It would be really useful!
I think it may be best to run PWA Studio code outside of Docker completely? I'm failing to see a need to run the Node.js app stuff through Docker. Please convince me otherwise 🤓
Certainly, yes! The PWA Studio app itself will run independently, but the sample data Magento offers for Venia is different from the regular Luma sample data. This needs to be deployed to the Magento instance. More info can be found in link in the description.
@drpayyne thanks very much, I will check this out.
Hi @markshust
I've created a pull request that introduces a script for setting up a Magento 2 environment and configuring PWA Studio. The script automates the installation of sample data for Venia PWA and configures the PWA Studio environment.
Could you please review the pull request? I believe this script could be beneficial for the project, and I'm open to any feedback or suggestions you might have.
It would be great if deploying Venia sample data was integrated into this project. Thanks!
Please refer: https://magento.github.io/pwa-studio/venia-pwa-concept/install-sample-data/