Differences between revisions 4 and 5
Revision 4 as of 2013-02-23 19:36:43
Size: 1839
Comment: added link to it translation + minor fix
Revision 5 as of 2013-02-27 23:22:07
Size: 1863
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)]]: English - [[it/drush|Italiano]] -~ ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/drush|Français]] - [[it/drush|Italiano]]-~

Translation(s): English - Français - Italiano


Command line shell and Unix scripting interface for drupal.

Installation

  1. If Drupal is installed and configured, you can install the drush package:

    apt-get install drush
  2. By default, drush doesn't know where drupal is installed. To specify the path of drupal, create the file /etc/drush/drushrc.php:

       1     // default drupal 7 directory in debian wheezy, use -r to override
       2     $options['r'] = '/usr/share/drupal7/';
    
  3. You can verify that the configuration is correct with this command:

    # 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