Install Drupal Using composer and drush

sudo su –
yum -y install git
su – www

composer global require zaporylie/composer-drupal-optimizations
composer global require hirak/prestissimo

composer global require drush/drush
echo ‘export PATH=”$HOME/.composer/vendor/bin:$PATH”‘ >> ~/.bashrc
source ~/.bashrc

composer create-project drupal/drupal public_html
cd public_html
drush site:install

Leave a Reply