drush

How to use docker with drupal and drush?

ぐ巨炮叔叔 提交于 2019-12-03 03:17:29
问题 I'd like to use drush. It needs to run in the drupal container. There's also a drush docker repo. But I have no clue how to make it available whithin the drupal container. It's my first docker and drupal project, so maybe I'm getting things completely wrong. How can I use drush with this drupal docker image? https://hub.docker.com/_/drupal/ Is it possible to manage it with docker-compose? Maybe extending the drupal container? This is my docker-compose.yml : mysql: image: mysql:5.5 ports: -

Using Drush Site-Install in C#

谁说胖子不能爱 提交于 2019-12-02 03:11:58
I'm trying to do a Drupal site install using Drush in C# as part of a full Windows Server site installation using MSI. The Drush commmand I am using is the following one. C:\ProgramData\Drush\Drush.bat -y si application_name --db-url=sqlsrv://admin_name:password(local)\SQLEXPRESS:/database_name --account-name=admin --account-mail=name@test.com --account-pass=Password1234 --site-mail="admin@company.com" --site-name="Site Name" install_configure_form.site_default_country=GB install_configure_form.date_default_timezone="Europe/London" And this works perfectly when run from cmd.exe when in the

How to speed up Cygwin?

非 Y 不嫁゛ 提交于 2019-11-30 01:51:55
I have been running drush scripts (for Drupal ) with Cygwin on my relatively fast windows machine, but I still have to wait about a minute for any drush command (specifically drush cache clear to execute). I'm quite sure it has something to do with the speed of Cygwin since my fellow developers (who are running Linux) can run these scripts in about 5 seconds. Is there a way to make Cygwin use more memory and/or CPU per terminal? The problem you're running into is not some arbitrary limit in Cygwin that you can make go away with a settings change. It's an inherent aspect of the way Cygwin has

Getting /bin/bash: -c: line 0: unexpected EOF while looking for matching `''

我只是一个虾纸丫 提交于 2019-11-29 12:49:22
I have a problem with my Gitbash. whenever I am running below drush command I am getting error command : drush @site sqlq "select * from tablename" error : /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 1: syntax error: unexpected end of file I tried to run simple drush commands like drush @site cc all and they are working fine. Is this issue related to system configurations or any environment variable related problem? I tried to run this command in other system and it is working fine. I am not able to figure out what is the issue here Please help. Git

How to speed up Cygwin?

流过昼夜 提交于 2019-11-28 22:42:52
问题 I have been running drush scripts (for Drupal) with Cygwin on my relatively fast windows machine, but I still have to wait about a minute for any drush command (specifically drush cache clear to execute). I'm quite sure it has something to do with the speed of Cygwin since my fellow developers (who are running Linux) can run these scripts in about 5 seconds. Is there a way to make Cygwin use more memory and/or CPU per terminal? 回答1: The problem you're running into is not some arbitrary limit

Getting /bin/bash: -c: line 0: unexpected EOF while looking for matching `''

会有一股神秘感。 提交于 2019-11-28 06:06:22
问题 I have a problem with my Gitbash. whenever I am running below drush command I am getting error command : drush @site sqlq "select * from tablename" error : /bin/bash: -c: line 0: unexpected EOF while looking for matching `'' /bin/bash: -c: line 1: syntax error: unexpected end of file I tried to run simple drush commands like drush @site cc all and they are working fine. Is this issue related to system configurations or any environment variable related problem? I tried to run this command in