A custom module for discountkitchenfactory.co.uk

0.3.0 2018-11-23 07:17 UTC

This package is auto-updated.

Last update: 2024-10-31 00:22:54 UTC


README

A custom module for discountkitchenfactory.co.uk (Magento 2).

How to install

/opt/plesk/php/7.1/bin/php bin/magento maintenance:enable
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar clear-cache
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar require discountkitchenfactory/core:*
/opt/plesk/php/7.1/bin/php bin/magento setup:upgrade
rm -rf var/cache generated/code && /opt/plesk/php/7.1/bin/php bin/magento setup:di:compile
rm -rf pub/static/* && /opt/plesk/php/7.1/bin/php bin/magento setup:static-content:deploy en_US en_GB
/opt/plesk/php/7.1/bin/php bin/magento cache:clean && sudo apachectl restart && sudo nginx -s reload
chmod -R -v 777 var/* pub/*
/opt/plesk/php/7.1/bin/php bin/magento cache:enable
/opt/plesk/php/7.1/bin/php bin/magento maintenance:disable

How to upgrade

/opt/plesk/php/7.1/bin/php bin/magento maintenance:enable
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar clear-cache
/opt/plesk/php/7.1/bin/php /usr/lib64/plesk-9.0/composer.phar update discountkitchenfactory/core
/opt/plesk/php/7.1/bin/php bin/magento setup:upgrade
rm -rf var/cache generated/code && /opt/plesk/php/7.1/bin/php bin/magento setup:di:compile
rm -rf pub/static/* && /opt/plesk/php/7.1/bin/php bin/magento setup:static-content:deploy en_US en_GB
/opt/plesk/php/7.1/bin/php bin/magento cache:clean && sudo apachectl restart && sudo nginx -s reload
chmod -R -v 777 var/* pub/*
/opt/plesk/php/7.1/bin/php bin/magento cache:enable
/opt/plesk/php/7.1/bin/php bin/magento maintenance:disable

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