Differences between revisions 1 and 2
Revision 1 as of 2013-02-23 19:36:40
Size: 1879
Comment: first translated version
Revision 2 as of 2013-02-27 23:23:44
Size: 1903
Comment: add link to french translation
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[drush|English]] - Italiano -~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: [[drush|English]] - [[fr/drush|Français]] - Italiano-~

Translation(s): English - Français - 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