The first 5 Drush commands

The first 5 Drush commands

3,383 Просмотров

In this video, I will show you the first 5 Drush commands that you have to know.

If you liked this video, please also have a look at my new course about Drupal 8 module development here (with 50% discount):
https://goo.gl/LPyeDw

Here are the commands as used in the video:

1. Check which version of Drush do you have or if you have at all:
drush --version

2. Clear the cache:
drush cr

3. Check the last log messages:
drush ws

4. One time login
drush uli

5. Database backup
Please check this link since I can't put angle brackets in YouTube video description:
https://gist.github.com/flesheater/60d8bb4afff0a02c9983747a7e47451b

6. Database import
https://gist.github.com/flesheater/60d8bb4afff0a02c9983747a7e47451b

If you are very careful, you saw that I wrote that I said I am going to first show drush status. Well, that is something you could check by yourself - it is a command that shows you most of the info of the Drupal status page. Here is the documentation for it and there you can find handy examples of all the drush commands:
https://drushcommands.com/drush-8x/core/core-status/

Тэги:

#drupal #drupal8 #drupal_tutorial #drush_commands #drush_clear_cache #drush_backup #drush #drupal_command_line_toool #drush_uli #forgotten_admin_password
Ссылки и html тэги не поддерживаются


Комментарии: