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

Hope this helps, if not please feel free to reach out.