Install git-hub and set it up
sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev
Setup githug
git config --global color.ui true
git config --global user.name "YOUR NAME"
git config --global user.email "[email protected]"
ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub
https://github.com/settings/ssh
ssh -T [email protected]
Install Latest Versoin of php & unzip
sudo apt update
sudo apt install php-cli php-common php-mysql unzip
Install Composer
cd ~
curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php
HASH=curl -sS https://composer.github.io/installer.sig
php -r "if (hash_file('SHA384', '/tmp/composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer
composer should run on your terminal now.
Enable php extensions for drupal
sudo apt install php-opcache php-pdo php-calendar php-ctype php-exif php-ffi php-fileinfo php-ftp php-iconv php-phar php-posix php-readline php-shmop php-sockets php-sysvmsg php-sysvsem php-sysvshm php-tokenizer php-gd
Create drupal product with composer
composer create-project drupal/recommended-project app-name
Install Drush
composer require drush/drush
Contents
show