- Clone the Magento 2 Vagrant setup locally
- Open the
Vagrantfile
, and findconfig.vm.synced_folder '.', '/vagrant', disabled: true
. Then, before that line, addconfig.vm.synced_folder '/Users/me/venia-pwa-concept', '/Users/me/venia-pwa-concept', type: "nfs", create: true
, where the specified path is the absolute path locally to your copy of this repository - Copy
magento2-vagrant-for-developers/etc/config.yaml.dist
tomagento2-vagrant-for-developers/etc/config.yaml
, update php_version to 7.1 and add branch 2.3-develop to repository config.yaml - Go through the normal setup process for the Vagrant box (
./init-project
). - On your host,
cd
tomagento2-vagrant-for-developers/magento2ce/app/code/Magento
, and runln -s /Users/me/venia-pwa-concept/module Pwa
- On your host,
cd
tomagento2-vagrant-for-developers/magento2ce/app/design/frontend/Magento
, and runln -s /Users/me/venia-pwa-concept/theme-frontend-venia venia
- Copy
.env.dist
to.env
and update as necessary, i.e. with the correct host URL. - Run
npm install
. Note if you run inside the vagrant box you may need to install and switch to a newer version of node. - If making changes, run
npm start
to start the development server. - Login to
/admin
, and change your store's theme tovenia
hevelop / venia-pwa-concept Goto Github PK
View Code? Open in Web Editor NEWThis project forked from magento-research/venia-pwa-concept
⚠️Experimental playground of the new PWA theme for Magento 2 based on the Peregrine component library and Buildpack tools