Skip to content

astrodistribution/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A custom module for astrodistribution.com (Magento 2).

How to install

bin/magento maintenance:enable
php ./composer.phar clear-cache
php ./composer.phar require astrodistribution/core:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
rm -rf pub/static/*
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 Smartwave/porto \
	-f en_US en_GB
bin/magento maintenance:disable
bin/magento cache:enable

How to upgrade

bin/magento maintenance:enable
php ./composer.phar remove astrodistribution/core
php ./composer.phar clear-cache
composer require astrodistribution/core:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
rm -rf pub/static/*
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 Smartwave/porto \
	-f en_US en_GB
bin/magento maintenance:disable
bin/magento cache:enable

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