We have a large production website running 8.9.20 with a Tarball directory format. We would like to make the jump to 9.3.0 and convert the site from Tarball to Composer directory format. I performed the following:
- Cloned the production website to "staging" (copy production directory and database)
- drush up drupal-9.3.0
This "staging" Tarball 9.3.0 website has a clean "status" report and could be promoted to production with some additional testing. This is a great step in the right direction.
I also created a composer based website to directory "d9" as follows:
- composer create-project drupal/recommended-project d9
- composer require contrib modules and bootstrap theme
- updated composer.json repository to find our GitHub code
- composer require non-drupal library to vendor, custom module and custom bootstrap subtheme
This Composer 9.3.0 site "status" report is clean. The site does not contain our configuration data (content types, etc) or our content. Another step in the right direction.
How do we move from Tarball to Composer directory format? Perhaps this is as easy as copying the database from the Tarball 9.3.0 site to the Composer 9.3.0 site. This is similar to our Cloning process above without copying the directory. I have never seen this documented anywhere and would like to make sure this is the correct move for our (eventually) production website. Thanks!