HOW-TO Set up Drush on a GoDaddy shared hosting plan

Let me start by saying if you know what Drupal and Drush are, then you know this won't work unless you have SSH access to your box.

Once you have SSH access to it, the deployment of Drush is fairly simple:

  1. SSH into your box.

    > ssh user@mydomain.com
  2. Create an alias to run your dush script.

    > alias drush='/usr/local/php5/bin/php ~/drush/drush.php'
  3. Test that it works.

    > drush help
  4. Now make it 'permanent' by adding it to your ~/.profile file.

    > echo alias drush='/usr/local/php5/bin/php ~/drush/drush.php' >> ~/.profile
  5. Now logout and log back in. Confirm the alias is still there. Enjoy.

    > exit
    > ssh user@mydomain.com
    > drush help

Drupal Latin America

Rob Montero is a proud sponsor and mentor of young Drupal talent of the Costa Rican Drupal Users Group and entrepreneur at Drupal Latin America

CHECK THEM OUT

Get in touch

  • Rob Montero
    Ave Popocatepetl 435 B 504
    Sta Cruz Atoyac, Benito Juarez
    Ciudad de México, 03310 
  • (858) 952 0762
  • roberto@montero-ortiz.com
Signup to our newsletter: