ddev / ddev-platformsh

Add integration with Platform.sh hosting service
Apache License 2.0
9 stars 10 forks source link
ddev-get

tests project is maintained

What is ddev-platformsh?

This repository is used with ddev get ddev/ddev-platformsh to get a rich integration between your checked-out Platform.sh project and DDEV.

Using with a Platform.sh project

Dependencies

Make sure you have DDEV v1.22.1+ installed

Install

  1. Clone your project repository (e.g. platform get <projectid>)
  2. cd into your project directory
  3. Run ddev config and answer the questions as appropriate
  4. Run ddev get ddev/ddev-platformsh and answer the questions as appropriate
  5. Run ddev start
  6. (Optional) Run ddev 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
    1. If you only want to retrieve the database (skipping the file mounts), add the --skip-files flag to the ddev pull platform command

Upgrade

To upgrade your version of ddev-platformsh, repeat the ddev get ddev/ddev-platformsh to get the latest release. To see the installed version, ddev get --installed.

Run it again if you change your Platform.sh configuration

If you change your .platform.app.yaml or something in your .platform directory, repeat the ddev get ddev/ddev-platformsh so that the generated configuration for DDEV will be updated.

Notes

What does it do right now?

What has been tested

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.)

What will it do in the future

Contributed and maintained by @rfay and @lolautruche