You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-38Lines changed: 46 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,28 +5,56 @@ Drush is a command line shell and Unix scripting interface for Drupal. If you a
5
5
6
6
Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache.
7
7
8
-
To contribute to Drush, see [/CONTRIBUTING.md](CONTRIBUTING.md)
9
-
10
8
DRUSH VERSIONS
11
9
--------------
12
10
13
-
Each version of Drush supports multiple Drupal versions. Drush 6 is the recommended version.
11
+
Each version of Drush supports multiple Drupal versions. Drush 6 is recommended version.
12
+
13
+
Drush Version | Branch | PHP | Compatible Drupal versions | Code Status
Drush comes with a full test suite powered by [PHPUnit](https://github.com/sebastianbergmann/phpunit). Each commit gets tested by the awesome [Travis.ci continuous integration service](https://travis-ci.org/drush-ops/drush).
22
+
23
+
USAGE
24
+
-----------
25
+
26
+
Drush can be run in your shell by typing "drush" from within any Drupal root directory.
Please take a moment to review the rest of the information in this file before
46
+
pursuing one of the support options below.
22
47
23
-
Drush comes with a full test suite powered by [PHPUnit](https://github.com/sebastianbergmann/phpunit). Each commit gets tested by the awesome [Travis.ci continuous integration service](https://travis-ci.org/drush-ops/drush):
48
+
* Post support requests to [Drupal Answers](http://drupal.stackexchange.com/questions/tagged/drush).
49
+
* Bug reports and feature requests should be reported in the [GitHub Drush Issue Queue](https://github.com/drush-ops/drush/issues).
50
+
* Use pull requests (PRs) to contribute to Drush. See [/CONTRIBUTING.md](CONTRIBUTING.md).
51
+
* It is still possible to search the old issue queue on Drupal.org for [fixed bugs](https://drupal.org/project/issues/search/drush?status%5B%5D=7&categories%5B%5D=bug), [unmigrated issues](https://drupal.org/project/issues/search/drush?status%5B%5D=5&issue_tags=needs+migration), [unmigrated bugs](https://drupal.org/project/issues/search/drush?status%5B%5D=5&categories%5B%5D=bug&issue_tags=needs+migration), and so on.
24
52
25
53
MISC
26
54
-----------
27
55
*[www.drush.org](http://www.drush.org)
28
56
*[A list of modules that include Drush integration](http://drupal.org/project/modules?filters=tid%3A4654)
29
-
* For more help, please see the [Resources](http://drush.org/resources) and the [Drush FAQ](http://drupal.org/drush-faq). Run the `drush topic` command for even more help.
57
+
* For more information, please see the [Resources](http://drush.org/resources) and the [Drush FAQ](http://drupal.org/drush-faq). Run the `drush topic` command for even more help.
30
58
* If you are using Debian or Ubuntu, you can alternatively use the Debian packages uploaded in your distribution. You may need to use the backports to get the latest version, if you are running a LTS or "stable" release.
31
59
* For advice on using Drush with your ISP, see the <ahref="http://drush.org/resources#hosting">hosting section of the Resources page</a> on <ahref="http://drush.org">drush.org</a>.
32
60
@@ -70,8 +98,8 @@ INSTALL - MANUAL
70
98
-----------
71
99
1. Place the uncompressed drush.tar.gz, drush.zip, or cloned git repository in a directory that is outside of your web root.
72
100
1. Make the 'drush' command executable:
73
-
74
-
`$ ln -s /path/to/drush/drush /usr/bin/drush`
101
+
102
+
`$ chmod u+x /path/to/drush/drush`
75
103
76
104
1. Configure your system to recognize where Drush resides. There are 2 options:
77
105
1. Create a symbolic link to the Drush executable in a directory that is already in your PATH, e.g.:
@@ -94,7 +122,7 @@ INSTALL - MANUAL
94
122
1. Test that Drush is found by your system:
95
123
96
124
`$ which drush`
97
-
125
+
98
126
See the POST-INSTALL section for configuration tips.
99
127
100
128
POST-INSTALL
@@ -121,7 +149,7 @@ POST-INSTALL
121
149
Putting this in a .bashrc/.bash_profile/.profile would produce this prompt:
1. Help the Drush development team by sending anonymized usage statistics. To automatically send usage data, please add the following to a .drushrc.php file:
126
154
127
155
```php
@@ -273,29 +301,9 @@ information presented in the example.aliases.drushrc.php file, especially when
273
301
setting values for'remote-host' and 'os', as these are very important when
274
302
running Drush rsync and Drush sql-sync commands.
275
303
276
-
USAGE
277
-
-----------
278
-
279
-
Once you have completed the installation steps, Drush can be run in your shell
280
-
by typing "drush" from within any Drupal root directory.
0 commit comments