Set of scripts to automate binding of Vue Storefront PWA with Magento 2 backend.
Attention: this project is not ready to use, it is under development yet.
Host under Linux Ubuntu 18.04 LTS 64-bit
is used in development.
There are 5 steps for now:
- Step 01: upgrade OS and install additional services (Elasticsearch, Redis, node, yarn, ...).
- Step 02: install and configure vue-storefront app.
- Step 03: install and configure vue-storefront-api app.
- Step 04: install and configure mage2vuestorefront app to transfer Magento 2 data to Elasticsearch DB.
- Step 05: replicate Magento 2 data to VSF (Elasticsearch).
$ git clone https://github.com/flancer64/vsf_mage2_setup.git
$ cd ./vsf_mage2_setup
$ cat > cfg.local.sh # or
$ cp cfg.init.sh cfg.local.sh
$ nano cfg.local.sh
...
$ bash ./bin/step01_env.sh
$ bash ./bin/step02_vsf_front.sh
$ bash ./bin/step03_vsf_api.sh
$ bash ./bin/step04_mage2vsf.sh
$ bash ./bin/step05_sync_data.sh
$ # or as one command
$ bash ./bin/step01_env.sh && \
bash ./bin/step02_vsf_front.sh && \
bash ./bin/step03_vsf_api.sh && \
bash ./bin/step04_mage2vsf.sh && \
bash ./bin/step05_sync_data.sh