Skip to content

Latest commit

 

History

History
64 lines (62 loc) · 1.91 KB

readme.md

File metadata and controls

64 lines (62 loc) · 1.91 KB

A custom image processing module for tradefurniturecompany.co.uk (Magento 2).

How to install

sudo service crond stop
sudo service nginx stop                
sudo service php-fpm stop
bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer2 require --ignore-platform-reqs --no-plugins tradefurniturecompany/image:*
composer update # https://mage2.pro/t/6327/2
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/* var/cache var/page_cache var/view_preprocessed
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 TradeFurnitureCompany/default \
	-f en_GB
bin/magento cache:clean	 
sudo service php-fpm start
sudo service nginx start
bin/magento maintenance:disable
sudo service crond start

How to upgrade

sudo service crond stop
sudo service nginx stop                
sudo service php-fpm stop
bin/magento maintenance:enable
composer remove tradefurniturecompany/image
rm -rf composer.lock
composer clear-cache
composer2 require --ignore-platform-reqs --no-plugins tradefurniturecompany/image:*
composer update # https://mage2.pro/t/6327/2
rm -rf var/di var/generation generated/*
bin/magento setup:upgrade
bin/magento cache:enable
bin/magento setup:di:compile
bin/magento cache:clean
rm -rf pub/static/* var/cache var/page_cache var/view_preprocessed
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 TradeFurnitureCompany/default \
	-f en_GB
bin/magento cache:clean
sudo service php-fpm start
sudo service nginx start
bin/magento maintenance:disable 
sudo service crond start