/ddev-psh-auto-id

Fork of integration with Platform.sh, automatically finding the project id

Primary LanguageShellApache License 2.0Apache-2.0

tests project is maintained

What is ddev-psh-auto-id?

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

It is a fork of platformsh/ddev-platformsh that automatically loads the Platform Project ID if .platform/local/project.yaml exists in your repo.

Installing

  • If your local project has a different database type than the upstream (Platform.sh) database, it will conflict, so please back up your database with ddev export-db and ddev delete -y before starting the project with new config based on upstream.
  • This requires DDEV v1.21.1+.
  • ddev get bserem/ddev-psh-auto-id and ddev restart
  • Your experience is super-important: Please let us know about how it went for you in any of the DDEV support venues

What does it do right now?

  • Takes your checked-out Platform.sh project and configures DDEV based on that information.
    • PHP and Database version
    • hooks are converted to DDEV post-start hooks
    • A working ddev pull platform integration with all mounts is created.
    • Populates project ID in DDEV automatically

What will it do in the future

  • Populate important PLATFORMSH environment variables that would be found upstream
  • Populate PHP and other dependencies configured upstream
  • Automatically figure out the name and other information of the upstream project
  • Automatically configure the .ddev/providers/platform so you can immediately do a ddev pull platform with no configuration effort.
  • Let us know what's important to you!

Contributed and maintained by @rfay, @lolautruche and @bserem