This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://stackoverflow.com/questions/37430036/override-html-file-in-custom-module-magento2/37464758#37464758 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://magento.stackexchange.com/questions/102113/requirejs-shim-option-not-working |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //exclude master and develop | |
| git branch -r --merged | grep -v master | grep -v main | grep -v develop | sed 's/origin\///' | xargs -n 1 git push --delete origin | |
| //M2 | |
| git branch -r --merged | grep -v master | grep -v main | grep -v develop | grep -v PRODUCTION | grep -v staging | sed 's/origin\///' | sed 's/composer\///' | xargs -n 1 git push --delete origin | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch --merged | egrep -v "(^\*|master|develop|main|PRODUCTION)" | xargs git branch -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <installation directory name> | |
| create DB | |
| edit index.php and setup/index.php to add - ini_set('xdebug.max_nesting_level', 200); | |
| bin/magento setup:install --base-url=http://127.0.0.1/mage2/m206/ \ | |
| --db-host=localhost --db-name=m206 --db-user=m206 --db-password=computer100 \ | |
| --admin-firstname=Magento --admin-lastname=User [email protected] \ | |
| --admin-user=admin --admin-password=admin123 --backend-frontname=admin --language=en_US \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Follow instructions here to generate keys | |
| http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html | |
| When using composer install command, enter public key and private key as username and password, if prompted | |
| If not prompted and get authentication error | |
| Add public and private key as username and password in your auth.json file found in a hidden .composer folder in the ~/User/{Home Directory}/ directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Delete contents of var/generation and refresh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To change the url open the file env.php in the path app/etc | |
| array ( | |
| 'frontName' => 'admin', // Default name which we was given at the time of installation. | |
| ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php -f bin/magento module:enable --clear-static-content Module_Name | |
| php -f bin/magento setup:upgrade |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/schmengler/AclReload/blob/master/src/app/code/community/SSE/AclReload/controllers/Adminhtml/Permissions/AclReloadController.php | |
| $session = Mage::getSingleton('admin/session'); | |
| $session->setAcl(Mage::getResourceModel('admin/acl')->loadAcl()); |
NewerOlder