Translation(s): English - Italiano


Shell a riga di comando e interfaccia per scripting Unix per drupal.

Installazione

  1. Se Drupal è installato e configurato, si può installare il pacchetto drush:

    apt-get install drush
  2. In modo predefinito, drush non sa dove è installato drupal. Per specificare il percorso di drupal, creare il file /etc/drush/drushrc.php:

       1     // default drupal 7 directory in debian wheezy, use -r to override
       2     $options['r'] = '/usr/share/drupal7/';
    
  3. 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