An open API service indexing awesome lists of open source software.

https://github.com/discountkitchenfactory/core

A custom module for discountkitchenfactory.co.uk (Magento 2)
https://github.com/discountkitchenfactory/core

mage2pro mage2pro-module mage2pro-module-bespoke mage2pro-module-ready magento magento2 magento2-extension magento2-module

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

A custom module for [discountkitchenfactory.co.uk](https://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](https://mage2.pro/t/263).