Drush

Disable caching Drupal 8 in development process

Submitted by phannphong on Sun, 03/24/2019 - 00:42

If you have been read Some basic drush commands, you can use Drush by running drush cr command line. However, this way is not useful when you're in the development process because you need to run the command line every time you change the code.

I'll guide you follow 2 ways:

1. MANUAL CONFIGURATION

1.1. Copy example.settings.local.php in sites/ folder to settings.local.php and put it in sites/default/ path.

How to install Drush 8 on Ubuntu or MacOS

Submitted by phannphong on Sun, 03/17/2019 - 14:17

Following these below steps to install Drush 8 (Ubuntu and MacOS):

The current version of Drush 8 when I writing this article is 8.2.1

1. Choose the latest version of Drush 8 in the below link: 

https://github.com/drush-ops/drush/releases

You can choose v8.2.2 and download the drush.phar. You can use the bellow command line to download it:

wget https://github.com/drush-ops/drush/releases/download/8.2.1/drush.phar

Note: to use the wget command line, you need to install it first.