Changes

Jump to navigation Jump to search
1,165 bytes added ,  16:11, 13 June 2020
reorder
==Upgrading from Drupal 7 to Drupal 8==
Read
* https://www.drupal.org/docs/upgrading-drupal/preparing-a-site-for-upgrade-to-drupal-8
* https://www.jeffgeerling.com/blog/2020/migrating-jeffgeerlingcom-drupal-7-drupal-8-how-video-series
* https://raw.githubusercontent.com/geerlingguy/drupal-for-kubernetes/master/docker-compose.yml
* https://github.com/geerlingguy/jeffgeerling-com
 
<source lang="bash">
# Start a new Drupal Project
# 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
 
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
 
# 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
* https://www.youtube.com/watch?v=PMFSv5B4Z20 Jeff Geerling's video series
* https://www.drupal.org/docs/upgrading-drupal/known-issues-when-upgrading-from-drupal-6-or-7-to-drupal-8
===Module inventory===

Navigation menu