Monday, April 30, 2018

Magento 2 console memory size issue

Use below command when you want to execute some Magento 2 console command and face "Fatal error: Allowed memory size of ..." kind of issue

php -dmemory_limit=1G bin/magento <your command>

Where memory_limit is set for 1 G it can be change as per your type of command and operation what you are executing using Magento 2 console.

Sunday, April 8, 2018

Install Drupal 8 using git and composer

To install Drupal 8.5.x

 Using git

git clone --branch 8.5.x

User composer

composer create-project drupal/drupal <<your site name>>

Note: "<<your site name>>" to be replace with your name of the site. This command will download latest version of Drupal 8.