Skip to content

Instantly share code, notes, and snippets.

@phaelfp
Created June 28, 2019 13:41
Show Gist options
  • Save phaelfp/84c90d349a20c97da25ac19b7714e3c9 to your computer and use it in GitHub Desktop.
Save phaelfp/84c90d349a20c97da25ac19b7714e3c9 to your computer and use it in GitHub Desktop.
Ajustes rápidos Magento 2
Alter Base Url in Terminal
php bin/magento setup:store-config:set --base-url="http://localhost:8080/"
Alter Base Security Url in Terminal
php bin/magento setup:store-config:set --base-url-secure="https://localhost:8080/"
After actions crear a cache
php bin/magento cache:flush
Display the Admin URI
magento info:adminuri
Alter the Admin URI
php bin/magento setup:config:set --backend-frontname new_uri
Create new Admin User
php bin/magento admin:user:create
Unlock an administrator account
php bin/magento admin:user:unlock {username}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment