Skip to content

wolfautoparts-com/product

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A custom module for wolfautoparts.com (Magento 2)

How to install

bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer require wolfautoparts.com/product:*
/usr/share/stratus/cli cache.all.clear
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
bin/magento cache:clean
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 one80solution/wolfautoparts \
	-f en_US
bin/magento maintenance:disable
bin/magento cache:enable
/usr/share/stratus/cli cache.all.clear 
/usr/share/stratus/cli autoscaling.reinit

How to upgrade

bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer remove wolfautoparts.com/product
composer clear-cache
composer require wolfautoparts.com/product:*
/usr/share/stratus/cli cache.all.clear
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
bin/magento cache:clean
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 one80solution/wolfautoparts \
	-f en_US
bin/magento maintenance:disable
bin/magento cache:enable
/usr/share/stratus/cli cache.all.clear 
/usr/share/stratus/cli autoscaling.reinit

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