4

Drush for those who couldn't get Drush working

http://drupal.org

Hi All,

After much jiggery-pokery, I got Drush working. I have enough Terminal experience to be dangerous, but not enough to know what I'm doing. I thought I'd write a quick synopsis of what worked for me, in the hope that it might be beneficial to others in my stage of learning. This is by no means the way it should be done, but might shed some light for others.

Le steps:

1. Download drush and put it in the root of your site
2. unpack it: tar xvzf drush....
3. make Drush executable: chmod u+x drush/drush (or chmod u+x /path/to/drush, wherever you have it placed)

Now that Drush is unpacked and ready to use, you need to create a link to it (an alias) so that you can use drush commands in any subfolder. The root folder of your website will contain hidden files: .profile, .bashrc, .bash_aliases etc...this is where the alias goes. I put mine in .bashrc. Nano, the text editor will help.

4. nano .bashrc
5. under the rest of the aliases in .bashrc, add in: alias drush='/path/to/drush/drush' -- my path happened to be /users/home/saltcod
6. Hit Ctrl+X to save and exit
7. Now you can use Drush from any subfolder

read more

Read »
Created by Angie 2 years 45 weeks ago
Category: News   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Drush for those who couldn't get Drush working

Recent comments