|
Size: 1921
Comment: New option name in drushrc.php (in Jessie)
|
← Revision 5 as of 2015-02-08 10:55:08 ⇥
Size: 1885
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 13: | Line 13: |
| // default drupal 7 directory in debian wheezy, use -r to override | // default drupal 7 directory |
Translation(s): English - Français - Italiano
Shell a riga di comando e interfaccia per scripting Unix per drupal.
Installazione
Se Drupal è installato e configurato, si può installare il pacchetto drush:
apt-get install drush
In modo predefinito, drush non sa dove è installato drupal. Per specificare il percorso di drupal, creare il file /etc/drush/drushrc.php:
Si può verificare che la configurazione sia corretta con il seguente comando:
# drush status Drupal version : 7.14 Site URI : http://default Database driver : mysql Database hostname : localhost Database username : drupal7 Database name : drupal7 Database : Connected Drupal bootstrap : Successful Drupal user : Anonymous Default theme : bartik Administration theme : bartik PHP configuration : /etc/php5/cli/php.ini Drush version : 5.4 Drush configuration : /etc/drush/drushrc.php Drupal root : /usr/share/drupal7/ Site path : sites/default File directory path : sites/default/files temp : /tmp
Collegamenti esterni
http://www.drush.org/ - Documentazione di drush
