> For the complete documentation index, see [llms.txt](https://help.readymage.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.readymage.com/project-development/existing-scandipwa-project-code-migration.md).

# Existing ScandiPWA Project Code Migration

## Steps to migrate ScandiPWA version 4+ projects

1. Ensure that your existing project `scandipwa` theme folder is named **scandipwa**.
2. Clone the instance repository following the instruction [here](/project-development/code-customization-and-local-setup.md#cloning-repository).
3. Replace the following folders/files in the cloned repository root folder from your project:\
   `app/etc/config.php`\
   `app/code`\
   `scandipwa`\
   `composer.json`\
   `composer.lock`\
   `package.json`
4. Add scopes configuration to  app/etc/config.php file following [Magento reference example](https://devdocs.magento.com/guides/v2.4/config-guide/prod/config-reference-configphp.html).
5. Perform [local setup](/project-development/code-customization-and-local-setup.md#local-setup).
6. [Push the code changes](/project-development/code-customization-and-local-setup.md#making-code-changes) to ReadyMage.
7. Perform database migration.
8. Perform media migration.

## Migrating earlier ScandiPWA version projects

Contact [ReadyMage support](https://help.readymage.com/faq/general#how-can-i-contact-customer-support).
