I updated my Magento Open Source installation to version 2.1.9. I did the upgrade via Composer by first modifying my root composer.json file to require the higher version, like so:
"magento/product-community-edition": "2.1.9", <--modify this line
And then run console command "composer update". Composer magically does all the job of flawlessly updating my entire Magento System in the span of several minutes. (side note: I just don't know how people update Magento without Composer, cheez.) Anyway, it's a localhost installation, so I don't care about backing up databases and such.
Since I didn't find one concise answer to what Magento CLI commands do I need to run after version update, so this is my question.
I suppose the first command to run would be (from root):
php bin/magento cache:clean
But then, do I need to run setup:di:compile ? Do I need to run setup:static-content:deploy ?
Do I need to delete files from
frontend? Any other folders' contents in
pub/static to delete?
Should I delete contents in
var/view_preprocessed ? Any specific folders to delete in the mentioned paths or just delete it all?
What are the specific steps for best system setup after version upgrade?