p-pcs / core

A custom module for performance-pcs.com (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 1 forks source link
mage2pro mage2pro-module mage2pro-module-bespoke mage2pro-module-ready magento magento2 magento2-extension magento2-module

A custom module for performance-pcs.com (Magento 2).

How to install

bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer require p-pcs/core:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
bin/magento cache:enable
rm -rf pub/static/*
bin/magento setup:static-content:deploy \
    --area adminhtml \
    --theme Magento/backend \
    -f en_US
bin/magento setup:static-content:deploy \
    --area frontend \
    --theme Smartwave/porto_child \
    -f en_US
bin/magento maintenance:disable

How to upgrade

bin/magento maintenance:enable
composer remove p-pcs/core
rm -rf composer.lock
composer clear-cache
composer require p-pcs/core:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
bin/magento cache:enable
rm -rf pub/static/*
bin/magento setup:static-content:deploy \
    --area adminhtml \
    --theme Magento/backend \
    -f en_US
bin/magento setup:static-content:deploy \
    --area frontend \
    --theme Smartwave/porto_child \
    -f en_US
bin/magento maintenance:disable