Snippets Collections
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
bin/magento cache:flush
chmod -R 777 app/ var/ pub/ generated/
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:di:compile
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento indexer:reindex
sudo php bin/magento cache:flush
sudo chmod -R 777 app/ var/ pub/ generated/
# port forwarding -p (publish)
# maps port from container to host
# access port 80 on server on containers' port 80
docker run -p 80:80 docker/image

# into OS - use console as if in OS environment

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Mon Jan 30 2023 04:49:45 GMT+0000 (Coordinated Universal Time)

#commands #magento

Mon Jan 30 2023 04:49:06 GMT+0000 (Coordinated Universal Time)

#commands #magento

Sat Jul 30 2022 21:57:49 GMT+0000 (Coordinated Universal Time)

#commands #flags

Tue Feb 15 2022 17:06:49 GMT+0000 (Coordinated Universal Time) undefined

#linux #commands

Sun Jan 23 2022 11:52:23 GMT+0000 (Coordinated Universal Time)

#wsl #wsl2 #windows #powershell #terminal #commands

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension