astrodistribution / core

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

A custom module for astrodistribution.com (Magento 2).

How to install

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

How to upgrade

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

If you have problems with these commands, please check the detailed instruction.