- Dependency Injection
- Singleton
- Builder
- Abstract Factory
- Factory Method
- Decorator
- Value Object
- Composition
- Strategy
- CQRS(Command query responsibility segregation)
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
#!/bin/bash | |
# Generate sample data and trigger Magento2 performance toolkit jMeter test plan. | |
HOST="magento2.loc" | |
BASE_PATH="/" | |
USERS=100 | |
RAMP_PERIOD=300 | |
LOOPS=1 | |
ADMIN_USER="magento2" | |
ADMIN_PASSWORD="magento2" |
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
sudo mysql -uroot -proot database_prod -e "select sku from catalog_product_entity;" | tr '\t' ',' > skus.csv |
aplicar patch magento
cp -ar patch/* .
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
SELECT `e`.*, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status` | |
FROM `catalog_product_entity` AS `e` | |
INNER JOIN `catalog_product_entity_int` AS `at_status_default` | |
ON (`at_status_default`.`entity_id` = `e`.`entity_id`) | |
AND (`at_status_default`.`attribute_id` = '98') | |
AND `at_status_default`.`store_id` = 0 | |
LEFT JOIN `catalog_product_entity_int` AS `at_status` | |
ON (`at_status`.`entity_id` = `e`.`entity_id`) | |
AND (`at_status`.`attribute_id` = '98') | |
AND (`at_status`.`store_id` = 1) |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
OlderNewer