Hi everyone, I need to transfer a Drupal 10 site from local (xampp) to pantheon sandbox (pantheonsite.io) but the procedure I'm referring to is complex to say the least (https://docs.pantheon.io/guides/drupal-unhosted-composer/prepare), can you tell me if it's the right one or is there a way easier?
Thanks in advance

Comments

vm’s picture

Those are correct instructions and it is the proper way forward. Essentially you are setting the environment up on Patheon then moving your site to that new environment.

ffpaolo’s picture

ok thanks, I finally managed it.

rikazkhan’s picture

Overview of the Procedure
Before we delve into alternatives, let's briefly go over the steps outlined in the documentation:

Prepare the Local Site: This involves ensuring your local Drupal site is using Composer and is structured correctly.
Commit Your Code to Version Control: This step involves using Git to commit your local codebase to a repository. Pantheon uses Git for version control, so this is essential for deploying your site.
Create a New Site on Pantheon: You'll need to create a new site on Pantheon. This step involves signing up for a Pantheon account if you haven't already and setting up a new site.
Clone the Site to Your Local Machine: Using the Terminus CLI tool, you'll clone the newly created Pantheon site to your local machine.
Sync Your Local Code to the Pantheon Site: This involves pushing your local codebase to the Pantheon site using Git.
Create a Backup of the Pantheon Site's Database: You'll export the database from the Pantheon site and import it into your local environment.
Sync Your Local Database to the Pantheon Site: You'll import the database backup from your local environment to the Pantheon site.
Set Environment Variables: Configure environment variables on Pantheon for things like database credentials and API keys.

ffpaolo’s picture

Thank you very much for your help, I had problems with exporting the libraries but in the end I did it and everything works.