-
Notifications
You must be signed in to change notification settings - Fork 937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use drush? #52
Comments
I personally use it on bash scripts |
Generally drush has a "redispatch" feature that can be enabled with setting For general use cases I created an experimental 💥 helper command to be installed globally: https://github.com/derhasi/buddy. With that small tool you could call drush via |
We are going to solve this with drush-ops/drush#1343; in particular, see my comment on 18 May (I really need to get back to this issue....) The general idea is that we will put this |
https://github.com/webflo/drushenv is one solution to the problem. Just run |
drushenv is a good solution. We are about to merge drush-ops/drush#1343 (later today, probably), so shortly you will be able to try that out. Just install a version of Drush that contains the 'drush finder' script as your global Drush, and it will find and launch the correct site-local Drush for you. So:
Regarding the fact that |
Now that drush-ops/drush#1595 has landed, and per the comments in drupal-composer#52, the new "finder" stage for Drush is helpful/necessary to use the copy in the vendor directory. In my case, this works without any other changes or magic; I have a global /etc/drush/drushrc.php file that specifies the path to Drush, but this works inside the web/ directory, as well. Also removed an unnecessary blank line.
The drush launcher feature landed in drush core and it just works. Thanks @greg-1-anderson! |
Feature/WIOA-426 init script Approved-by: Gerardo Maldonado <[email protected]>
When we are in the
web
directory, we can rundrush
like this:Dumb question, but is there a better way to do it?
We can't currently add a symlink to the
web
directory, because thedrush
directory is already there.The text was updated successfully, but these errors were encountered: