HOW-TO Set up Drush on a GoDaddy shared hosting plan
Sep 11, 2016
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:
- SSH into your box.
- ssh user@mydomain.com
- Create an alias to run your dush script.
- alias drush='/usr/local/php5/bin/php ~/drush/drush.php'
- Test that it works.
- drush help
- Now make it 'permanent' by adding it to your ~/.profile file.
- echo alias drush='/usr/local/php5/bin/php ~/drush/drush.php' >> ~/.profile
- 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.