I was able to run php bin/magento setup:static-content:deploy
command, but after changing the permissions of the folders this is giving error:
There is no directory in bin folder. I have just installed the fresh magento 2.3.
Please help me what I am missing or doing wrong.
Best Answer
Go to the root folder of your Magento project and run the following commands :
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
sudo php bin/magento cache:clean
sudo chmod -R 0777 pub var generated
file permission change by ssh and run below command