Mudanças entre as edições de "Drush"
De MochilaWiki
Ir para navegaçãoIr para pesquisar (Criou página com 'Atualizando Drush <source lang="bash"> pear upgrade drush </source>') |
|||
Linha 1: | Linha 1: | ||
− | + | Instalando | |
<source lang="bash"> | <source lang="bash"> | ||
− | + | apt-get install curl php php-xml | |
+ | curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer | ||
+ | composer global require drush/drush:8.2.1 | ||
+ | export PATH="$HOME/.config/composer/vendor/bin:$PATH" | ||
+ | export PATH="$HOME/.composer/vendor/drush/drush:$PATH" | ||
+ | source ~/.bashrc | ||
</source> | </source> | ||
+ | |||
+ | Baixando Drupal 7 | ||
+ | <source lang="bash"> | ||
+ | drush dl drupal-7 --select | ||
+ | </source> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | == Rascunho == | ||
+ | composer require symfony/var-dumper | ||
+ | composer require drupal/devel:^2.0.0 --no-update | ||
+ | composer update | ||
+ | composer why symfony/var-dumper | ||
+ | |||
+ | == Referências == | ||
+ | * https://github.com/consolidation/cgr | ||
+ | * https://docs.drush.org/en/8.x/install-alternative/ | ||
+ | I https://www.liquidweb.com/kb/install-drush-ubuntu-16-04/ |
Edição das 18h08min de 25 de março de 2019
Instalando
apt-get install curl php php-xml
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
composer global require drush/drush:8.2.1
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
export PATH="$HOME/.composer/vendor/drush/drush:$PATH"
source ~/.bashrc
Baixando Drupal 7
drush dl drupal-7 --select
Rascunho
composer require symfony/var-dumper composer require drupal/devel:^2.0.0 --no-update composer update composer why symfony/var-dumper