Skip to content

It limits the Milkman products to Manhattan and some nearby areas (Magento 2)

Notifications You must be signed in to change notification settings

beverageuniverse/milkman

Repository files navigation

A custom module for beverageuniverse.com (Magento 2). It limits the Milkman products to Manhattan and some nearby areas.

How to install

bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
rm -rf app/code/Beverage/Milkman
composer require beverageuniverse/milkman:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
bin/magento cache:enable
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 Magento/Beverage \
	-f en_US
bin/magento maintenance:disable

How to upgrade

bin/magento maintenance:enable
composer remove beverageuniverse/milkman
rm -rf composer.lock
composer clear-cache
composer require beverageuniverse/milkman:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
bin/magento cache:enable
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 Magento/Beverage \
	-f en_US
bin/magento maintenance:disable