Posted By

zachharkey on 03/08/10


Tagged

unix drupal Drush


Versions (?)

Install Drush from CVS HEAD on any unix server


 / Published in: XHTML
 

URL: http://snipt.net/jrguitar21/install-drush-from-cvs-head-on-any-unix-server/

Installs Drush (the Drupal Shell command line utility) from CVS HEAD on any UNIX machine, such that all users that have /usr/local/bin in their $PATH can use Drush (granted they have access to a Drupal install).

  1. ##
  2. ## Installs Drush (the Drupal Shell command line utility) from CVS HEAD
  3. ## on any UNIX machine, such that all users that have /usr/local/bin in
  4. ## their $PATH can use Drush (granted they have access to a Drupal install).
  5. ##
  6. ##
  7.  
  8. cd /usr/local/src
  9. cvs -z6 -d:pserver:anonymous:[email protected]:/cvs/drupal-contrib checkout -d drush-HEAD contributions/modules/drush/
  10. curl -O http://download.pear.php.net/package/Console_Table-1.1.3.tgz
  11. tar zxvf Console_Table-1.1.3.tgz
  12. cp Console_Table-1.1.3/Table.php drush-HEAD/includes/table.inc
  13. ln -s /usr/local/src/drush-HEAD/drush /usr/local/bin/drush
  14.  
  15. ##
  16. ## now any user that has /usr/local/bin in their $PATH can use Drush.
  17. ##
  18. ##
  19. ## ... later on, to keep drush up to date, run the following:
  20.  
  21. #cd /usr/local/src/drush-HEAD
  22. #cvs update -dPA

Report this snippet  

You need to login to post a comment.