This file contains 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
########################################################## | |
# PRODUCTS | |
########################################################## | |
DELETE FROM `catalog_product_bundle_option`; | |
DELETE FROM `catalog_product_bundle_option_value`; | |
DELETE FROM `catalog_product_bundle_selection`; | |
DELETE FROM `catalog_product_entity_datetime`; | |
DELETE FROM `catalog_product_entity_decimal`; | |
DELETE FROM `catalog_product_entity_gallery`; | |
DELETE FROM `catalog_product_entity_int`; |
This file contains 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
require "capistrano/setup" | |
require "capistrano/deploy" | |
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r } |
This file contains 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 bin/magento setup:backup --db | |
gzip var/backups/*.sql | |
git pull | |
php bin/magento maintenance:enable | |
php bin/magento cache:enable | |
rm -fr var/di var/generation var/cache | |
php bin/magento setup:di:compile | |
php bin/magento deploy:mode:set production --skip-compilation | |
php bin/magento maintenance:enable | |
php bin/magento setup:upgrade |