In the past year, we have been actively contributing to the Drupal 8 core. We have also accomplished the migration of several enterprise class websites from Drupal 6 to Drupal 8.
We took away huge learnings from the process and challenges. In this blog, we would like to share a starter that will be helpful to anyone working on such migrations. We will cover the basic setup for a Drupal 6 to Drupal 8 migration:
Install Drupal 8 with composer:
- Drupal 8 architecture has completely changed. Composer needs PHP 5.3.2+ to run (but you should run PHP 7 if possible.
- Firstly install composer on your server or local machine. To install composer please follow steps given below.
- Once composer is installed you need to create a project:
The following blogs are available on drupal.org for drupal 8 installation with composer.
Also great documentation given in read.txt file:
Step up of Drupal 6:
We don't need to do the step-up of drupal 6 . We may require it to do when we will migrate files. All what we need right now is drupal 6 DB installed on localhost or your mySQL.
Install the below listed modules in your Drupal 8 site
- Migrate Drupal
Verify the migration :
This will give the Migration Status - in the screenshot below
You will now have created the basic Drupal 8 setup that is ready for the next step.
Go to admin/structure/migrate
You will see the default migration group listed.
This completes the basic Drupal 8 migration setup.