Skip to content

canadasatellite-ca/core

Repository files navigation

A custom module for canadasatellite.ca (Magento 2).

How to install

sudo service cron stop           
bin/magento maintenance:enable  
composer require canadasatellite/core:* 
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/*
bin/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme MageSuper/magestylish \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento cache:clean
bin/magento maintenance:disable
sudo service cron start

How to upgrade

sudo service cron stop           
bin/magento maintenance:enable  
composer remove canadasatellite/core
composer clear-cache
composer require canadasatellite/core:*    
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/*
bin/magento setup:static-content:deploy \
	--area adminhtml \
	--theme Magento/backend \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento setup:static-content:deploy \
	--area frontend \
	--theme MageSuper/magestylish \
	-f en_US en_CA es_ES fr_FR pt_BR zh_Hans_CN
bin/magento cache:clean
bin/magento maintenance:disable
sudo service cron start