I use Magento 2.3.6 and am getting ready to go live… But got a little confused about the correct steps as I keep finding different instructions in different places…
So in order to switch from developer mode to production, do I need to manually delete any folders first?
Is this one command ( php bin/magento deploy:mode:set production ) enough to take care of everything?
Or should it be something like:
php bin/magento deploy:mode:set production –skip-compilation
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:static-content:deploy -f
Hope someone can help.