Changes

Jump to navigation Jump to search
777 bytes added ,  18:12, 8 June 2020
no edit summary
==Upgrading from Drupal 7 to Drupal 8==
Read https://www.drupal.org/docs/upgrading-drupal/preparing-a-site-for-upgrade-to-drupal-8
 
<source lang="bash">
apt install -y php git etckeeper unzip php-dom php-gd php-mbstring
# visit getcomposer.org and get composer
mv composer.phar /usr/local/bin/composer
# Use composer to create a new Drupal project based on the 'recommended-project' project.
composer create-project drupal/recommended-project:^8 /var/www/equality-tech.com
# Add .gitignore and README.md
# require Drush
composer require drush/drush
composer require drupal/migrate_upgrade:^3
# setup stanza for old site in settings.php
vim /var/www/equality-tech.com/web/sites/default/default.settings.php
# setup SSH tunnel to the old server
ssh -L 127.0.0.1:33306:127.0.0.1:3306 root@equality-tech.com
 
</source>
 
 
See
* https://www.lullabot.com/articles/overview-migrating-drupal-sites-8

Navigation menu