ajout infos drush
This commit is contained in:
parent
d583f65234
commit
d03c4948dc
|
@ -89,12 +89,13 @@ $ crontab -l
|
|||
Pour installer la dernière version :
|
||||
|
||||
~~~
|
||||
$ cd $ROOT
|
||||
$ composer require drush/drush
|
||||
$ composer require symfony/http-kernel
|
||||
$ composer show drush/drush | grep ^version
|
||||
versions : * 12.4.3
|
||||
|
||||
$ php drupal/vendor/bin/drush version
|
||||
$ php ./vendor/bin/drush version
|
||||
Drush version : 12.4.3.0
|
||||
~~~
|
||||
|
||||
|
@ -103,7 +104,7 @@ Pour installer une ancienne version :
|
|||
~~~
|
||||
$ composer global require drush/drush:8.4.8
|
||||
|
||||
$ ./.composer/vendor/bin/drush version
|
||||
$ php ./.composer/vendor/bin/drush version
|
||||
Drush Version : 8.4.8
|
||||
~~~
|
||||
|
||||
|
@ -112,7 +113,7 @@ ou
|
|||
~~~
|
||||
$ composer require drush/drush:8.4.8
|
||||
|
||||
$ ./vendor/bin/drush version
|
||||
$ php ./vendor/bin/drush version
|
||||
Drush Version : 8.4.8
|
||||
~~~
|
||||
|
||||
|
@ -123,13 +124,27 @@ Au sein d'un site Drupal, on peut vérifier/collecter différentes informations
|
|||
|
||||
~~~
|
||||
$ cd $ROOT
|
||||
|
||||
$ drush sql-connect
|
||||
|
||||
$ drush status
|
||||
Drupal version : 10.2.1
|
||||
Site URI : http://default
|
||||
PHP binary : /usr/bin/php8.2
|
||||
PHP config : /etc/php/8.2/cli/php.ini
|
||||
PHP OS : Linux
|
||||
PHP version : 8.2.7
|
||||
Drush script : /home/foo/www/vendor/bin/drush
|
||||
Drush version : 12.4.3.0
|
||||
Drush temp : /tmp
|
||||
Drush configs : /home/foo/www/vendor/drush/drush/drush.yml
|
||||
Drupal root : /home/foo/www/web
|
||||
Site path : sites/default
|
||||
~~~
|
||||
|
||||
### Configuration derrière un reverse-proxy
|
||||
|
||||
Dans la configuration de drupal, des directives sont à activer pour la prise en compte des headers HTTP X-Forwarded-For).
|
||||
Dans la configuration de Drupal, des directives sont à activer pour la prise en compte des headers HTTP X-Forwarded-For).
|
||||
|
||||
~~~php
|
||||
$settings['reverse_proxy'] = TRUE;
|
||||
|
|
Loading…
Reference in a new issue