Updated Setting up Drush (markdown)

Theodotos Andreou 2018-01-16 08:48:02 +02:00
parent b09e91e9e6
commit a80e782ce0

@ -30,13 +30,7 @@ $ cd cms/
$ composer require drush/drush
```
You can run *drush* to check the status of your Drupal install, with:
```
$ ./vendor/bin/drush status
```
Lastly we need to add `drush` in the **$PATH**:
Them we need to add `drush` in the **$PATH**:
```
$ mkdir ~/bin
@ -44,6 +38,13 @@ $ cd ~/bin
$ ln -s ../cms/vendor/bin/drush
```
You can run *drush* to check the status of your Drupal install, with:
```
$ drush status
```
**NOTE: This command must be run under the *cms* directory.**
References
----------
* http://docs.drush.org/en/master/