curl -LO https://deployer.org/deployer.phar && sudo mv deployer.phar /usr/local/bin/dep && sudo chmod +x /usr/local/bin/dep
composer require deployer/recipes --dev
composer require rafaelstz/deployer-magento2 dev-master --dev
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
#!/bin/bash | |
# argument 1: directory name, and web subdomain (default: m2) | |
# argument 2: Magento version (default: 2.4.3) | |
set -o errexit | |
# Create directory and enter it | |
mkdir ${1:-m2} | |
cd ${1:-m2} |
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
version: "2" | |
services: | |
varnish: | |
#hostname: magento2.docker | |
image: meanbee/magento2-varnish:latest | |
environment: | |
- VIRTUAL_HOST=magento2.docker | |
- VIRTUAL_PORT=80 | |
- HTTPS_METHOD=noredirect | |
ports: |
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
#!/bin/bash | |
set -e | |
mkdir -p $HOME/bin $HOME/src | |
cd $HOME/src | |
wget https://github.com/tmux/tmux/releases/download/2.6/tmux-2.6.tar.gz | |
wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz | |
wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.4.xsd" name="Custom_m" invoke="C:/OpenServer/modules/php/PHP-7-x64/php.exe -dxdebug.remote_enable=0 -dxdebug.remote_autostart=0 -dxdebug.profiler_enable=0 $ProjectFileDir$/bin/magento" alias="m" enabled="true" version="2"> | |
<command> | |
<name>help</name> | |
<help><![CDATA[Displays help for a command<br /><br />Usage: <b>help [--xml] [--format="..."] [--raw] [command_name]<b> <br/><br/> <table> <tr> <td><strong>Arguments:</strong></td> </tr> <tr> <td>command</td> <td>The command to execute</td> </tr> <tr> <td>command_name</td> <td>The command name (default: "help")</td> </tr> <tr><br /></tr> <tr> <td><strong>Options:</strong></td> </tr> <tr> <td>--xml</td> <td>To output help as XML</td> </tr> <tr> <td>--format</td> <td>To output help in other formats (default: "txt")</td> </tr> <tr> <td> --raw</td> <td>To output raw command help</td> < |
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`; |