Using DDEV in Gitpod.io¶
DDEV is fully supported in Gitpod.io, and there are many ways to use it.
- Just open any repository using gitpod and
brew install drud/ddev/ddevand use ddev as you would normally use it.
- To use
ddev launchyou'll need to
sudo apt-get update && sudo apt-get install -y xdg-utils.
- You can just install your web app there, or import a database.
- You may want to implement one of the
ddev pullprovider integrations to pull from a hosting provider or an upstream source.
- To use
- Use ddev-gitpod-launcher form to launch a repository. See the actual instructions on the repository. You just click the button and it opens a fully-set-up environment. If a companion artifacts repository with the suffix
-artifactsis available, then the
files.tgzfrom it will be automatically loaded.
- Use the DDEV Gitpod Launcher Chrome Extension. This does the same thing as the
ddev-gitpod-launcherform, but is installed as an easy-to-use Chrome extension.
It can be complicated to get private databases and files into Gitpod, so in addition to the launchers, DDEV v1.18.2 introduces a
git provider example, so you can pull database and files without complex setup or permissions. This was created explicitly for Gitpod integration, because in Gitpod you typically already have access to private git repositories, which are a fine place to put a starter database and files. Although ddev-gitpod-launcher and the web extension provide the capability, you may want to integrate a git provider for each project (or, of course, one of the other providers).