Questions tagged [ddev]

open source tool for setting up a local PHP development environment.

ddev is an open source tool for setting up a local PHP development environment, explicitly supporting Drupal, TYPO3, WordPress and Backdrop.

394 questions
16
votes
3 answers

How can I create and load a second database in ddev?

I have a Drupal multisite that needs to have one database for each site, and want it to run in ddev, but ddev just has the one database by default, named 'db'. How can I get a second database?
rfay
  • 9,963
  • 1
  • 47
  • 89
11
votes
1 answer

How can I find out what's going wrong with a ddev container, or see the logs?

I'm working on a project using ddev and I don't know how to troubleshoot things because they're hidden in the containers they run in. For example, I've tried ddev logs but it doesn't give me enough information.
rfay
  • 9,963
  • 1
  • 47
  • 89
10
votes
2 answers

How to automatically build CSS inside a ddev project using node-sass scss in a sidecar container?

I have a Drupal project where I would like to use Node.js build scripts to compile SCSS into CSS.
Dave Long
  • 331
  • 1
  • 9
10
votes
1 answer

What's the fastest way to install and set up TYPO3 locally?

I want to install and set up TYPO3 on my local machine. What's the best practice and fastest way to do so?
Thomas Löffler
  • 5,922
  • 1
  • 14
  • 29
9
votes
2 answers

`mkcert` command not found, after installing ddev

mkcert doesn't seem to be installed (or maybe not in the right path) on Ubuntu ddev version DDEV-Local version v1.8.0 commit v1.8.0 db drud/ddev-dbserver:v1.8.0-10.2 dba …
amitaibu
  • 1,026
  • 1
  • 7
  • 23
9
votes
4 answers

How can I export a database from ddev?

ddev currently lacks an export-db command (see https://github.com/drud/ddev/issues/767) How can I export a database?
rfay
  • 9,963
  • 1
  • 47
  • 89
8
votes
2 answers

DDEV-Local WSL2: How do I get xdg-open to open a browser on Windows from WSL2?

In my wsl2 installation the "ddev launch" command stopped working this week, because the xdg-open command didn't work anymore. Setting the $BROWSER variable to a specific browser didn't work as the standard installation path contains spaces and this…
F.Leudts
  • 181
  • 1
  • 9
8
votes
4 answers

How can I add and use nvm in a DDEV web container?

Currently, the DDEV web container does not come with nvm (node version manager). How can I add and use it via the DDEV config.yaml file?
Michael Anello
  • 119
  • 1
  • 6
8
votes
4 answers

Communication between two ddev projects

I got two ddev projects that needs to interact with each other. When a ran into some issues, I check the resolved IP for the connection. I did it by ssh into project1 and ping project2 (ping project2.ddev.local) The domain resolves to 127.0.0.1 So…
Tim Schreiner
  • 513
  • 4
  • 14
7
votes
1 answer

How can ddev automatically create additional databases?

This is a followup question to How can I create and load a second database in ddev?. It is about doing that task automatically. One use case for this is developing a migration to Drupal from another MySQL database, and collaborating with others on…
7
votes
3 answers

I get an `ngnix 403 Forbidden' when starting ddev

After starting my ddev project and hitting it with the web browser I suddenly started getting `ngnix 403 Forbidden / directory index of "/var/www/html/" is forbidden' or just '403 Forbidden', and I can't figure out why. This worked earlier.
rfay
  • 9,963
  • 1
  • 47
  • 89
7
votes
1 answer

How can I get my ssh keys and identity into ddev's web container?

I have these needs from time to time in the web container: ssh to a server from inside the web container Use git to a private repository inside the web container Use rsync (like ddev drush rsync) Use ddev composer with access to private…
rfay
  • 9,963
  • 1
  • 47
  • 89
7
votes
4 answers

How do I get xdebug/step-debugging working with ddev?

I've been working with ddev on my Drupal projects, and now want to use xdebug so I have step-debugging with PhpStorm (or really any IDE would be fine). But I can't seem to get it to stop on breakpoints. I tried to follow the instructions in ddev…
rfay
  • 9,963
  • 1
  • 47
  • 89
6
votes
1 answer

How can I install and run Docker Desktop and DDEV on a really old Mac?

Apple supports only the last two preceding major operating system versions. Which leads to the fact that Docker as well as Homebrew dropped the support for those. At the time of the writing this post macOS Monterey is the current version, while the…
rkoller
  • 1,424
  • 3
  • 26
  • 39
6
votes
1 answer

XSym symbolic links cannot be used in PHP on Docker for Windows

When using PHP inside a Docker container on Windows (e.g. using DDEV), symbolic links that are created inside the container (e.g. by composer) do not seem to work correctly with PHP's file streams. Scenario Imagine the following PHP…
Oliver Hader
  • 4,093
  • 1
  • 25
  • 47
1
2 3
26 27