Skip to content

Latest commit

 

History

History
47 lines (46 loc) · 956 Bytes

File metadata and controls

47 lines (46 loc) · 956 Bytes

Deploy Process

Prerequirement

Navigate to root folder of project

Enable modules

php bin/magento module:enable --all --clear-static-content

Upgrade module

php bin/magento setup:upgrade

Compile DI

php bin/magento setup:di:compile-multi-tenant

Clear cache file and generated file in var folder

rm -rf var/cache var/generation var/page_cache var/tmp var/view_preprocessed 

Clear static file in pub folder

rm -rf pub/static

Deploy static content

php bin/magento setup:static-content:deploy en_US

Compile less

Please reference How to using Grunt in Wiki before start this step

grunt clean:custom
grunt exec:custom
grunt less:custom

Update reindex

php bin/magento indexer:reindex

Clear cache

php bin/magento cache:clean

Flush cache

php bin/magento cache:flush