I have been impressed with what Drush does.
How do I run against the live site? I am on a virtual hosting. Right now, I am running Drush against my local dev then uploading to the live site. It would be nice if I could run against the live site directly.
I watched the screen casts but I am having trouble finding detailed documentations. I am probably not googling correctly. If anyone knows where to look for, I appreciate the info. For example: I want to run sup command but don't know how to define the target string up command offers backup but how do you restore when you found something went wrong?
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
You need to have shell access (where you can execute command) to your hosting provider. Otherwise, I think you're out of luck.
Please explain why not? After all we do have FTP access to our hosting providers. Many of us are small developers and this is of major importance to us and and should be emphasized to the drush team.
I don't see why certain commands such as downloading modules remotely shouldn't be possible through drush, while perhaps running other commands disabled if there are security related issues on those.
On 20/04/2010 09:51, Mohd Kamal Bin Mustafa wrote:
You need to have shell access (where you can execute command) to your hosting provider. Otherwise, I think you're out of luck.
On Tue, Apr 20, 2010 at 4:52 PM, Moses Elias (2) iom@netvision.net.il wrote:
Please explain why not? After all we do have FTP access to our hosting
That's the limitation of FTP, you can't execute command through it. Nothing drush can do about it. FTP as it name suggest, is to transfer files, not executing command.
Many shared hosting sites these days give shell access upoon request. For example, site5 does. Otherwise change to one which does.
Once you have shell access, you can unpack drush into a subdirectory, say ~/bin/drush (where ~ is your home directory where you log in, i.e. /home/mysite). Then the executable will be at ~/bin/drush/drush . Change to that directory and make sure it is executable
$ chmod u+x drush
then execute it:
"./drush".
If you see the familiar drush help file, dependencies will have been met, you are all set.
Add the following line to your .bashrc or .bash_profile file in your home directory:
alias drush=/home/mysite/bin/drush/drush
And you should be all set to go.
Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com
On Tue, Apr 20, 2010 at 5:52 AM, Moses Elias (2) iom@netvision.net.ilwrote:
Please explain why not? After all we do have FTP access to our hosting providers. Many of us are small developers and this is of major importance to us and and should be emphasized to the drush team.
I don't see why certain commands such as downloading modules remotely shouldn't be possible through drush, while perhaps running other commands disabled if there are security related issues on those.
On 20/04/2010 09:51, Mohd Kamal Bin Mustafa wrote:
You need to have shell access (where you can execute command) to your hosting provider. Otherwise, I think you're out of luck.
-- [ Drupal support list | http://lists.drupal.org/ ]
On 2010/04/20, at 5:42, Victor Kane wrote:
Many shared hosting sites these days give shell access upoon request.
I sent in a request. We will see if I can gain the shell access :-)
Any help on finding the documentation? Thank you for all who responded!
-- - Hiro
Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com
I'ts actually not that simple. Many providers that allow shell access in multiple hosted enviorenments still do not provide CLI compatable PHP which is required for Drush. Such was the case for me when I wanted to use drush :(.
If you're just looking for module installs to be easier, plugin manager project is a good alternative to drush in such cases.
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Moses Elias (2) Sent: Tuesday, April 20, 2010 8:59 PM To: support@drupal.org Subject: Re: [support] Drush Questions
We should have a list of all web hosting providers who actually provide shell access available on drupal.org so it can be easily referenced by all.
I sent in a request. We will see if I can gain the shell access :-)
-- [ Drupal support list | http://lists.drupal.org/ ]
After setting up PUTTY on Ubuntu, and receiving SSH access permission from my hosting provider, Victor's instructions for setting up drush worked like a charm.
Thanks!
On 20/04/2010 12:42, Victor Kane wrote:
Many shared hosting sites these days give shell access upoon request. For example, site5 does. Otherwise change to one which does.
Once you have shell access, you can unpack drush into a subdirectory, say ~/bin/drush (where ~ is your home directory where you log in, i.e. /home/mysite). Then the executable will be at ~/bin/drush/drush . Change to that directory and make sure it is executable
$ chmod u+x drush
then execute it:
"./drush".
If you see the familiar drush help file, dependencies will have been met, you are all set.
Add the following line to your .bashrc or .bash_profile file in your home directory:
alias drush=/home/mysite/bin/drush/drush
And you should be all set to go.
Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com
On Tue, Apr 20, 2010 at 5:52 AM, Moses Elias (2) <iom@netvision.net.il mailto:iom@netvision.net.il> wrote:
Please explain why not? After all we do have FTP access to our hosting providers. Many of us are small developers and this is of major importance to us and and should be emphasized to the drush team. I don't see why certain commands such as downloading modules remotely shouldn't be possible through drush, while perhaps running other commands disabled if there are security related issues on those. On 20/04/2010 09:51, Mohd Kamal Bin Mustafa wrote: > You need to have shell access (where you can execute command) to your > hosting provider. Otherwise, I think you're out of luck. > -- [ Drupal support list | http://lists.drupal.org/ ]