Platform.sh is a unified, secure, enterprise-grade platform for building, running and scaling web applications.
This repository is used with ddev add-on get ddev/ddev-platformsh to get a rich integration between your checked-out Platform.sh project and DDEV.
Make sure you have DDEV v1.24.3+ installed
platform get <projectid>)cd into your project directoryddev config and answer the questions as appropriateddev add-on get ddev/ddev-platformsh and answer the questions as appropriateddev startddev pull platform to retrieve a copy of the database and contents from the project’s file mounts from the environment you entered in step #5. (If you only want to retrieve the database (skipping the file mounts), add the --skip-files flag to the ddev pull platform command.)To upgrade your version of ddev-platformsh, repeat the ddev add-on get ddev/ddev-platformsh to get the latest release. To see the installed version, ddev add-on list --installed.
If you change your .platform.app.yaml or something in your .platform directory, repeat the ddev add-on get ddev/ddev-platformsh so that the generated configuration for DDEV will be updated.
ddev export-db and ddev delete before starting the project with new config based on upstream.php, for example, php:8.2 or php:8.3. It does not work with non-php projects.ddev pull platform integration with all mounts is created.$PLATFORM_ variables (e.g., $PLATFORM_RELATIONSHIPS, $PLATFORM_ROUTES)These Platform.sh templates are included in the automated tests that run nightly. They will be growing in maturity with your feedback!
(Each of the above but magento2ce has automated tests.)
ddev pull platform with no configuration effort.Maintained by @rfay