justafish / ddev-drupal-core-dev

ddev addon for core development
Apache License 2.0
24 stars 10 forks source link

Fixed assumption that Drupal is installed in the Composer project root. #35

Closed joachim-n closed 3 weeks ago

joachim-n commented 4 months ago

This fixes the ddev drupal command when Drupal is installed in a subfolder such as web.

justafish commented 3 weeks ago

This addon is designed to work with the core checkout of Drupal, so I'm not sure in what scenario it would be in a subfolder. Please do re-open if you have any additional info though :+1:

joachim-n commented 3 weeks ago

Installing Drupal core with the Composer template from https://github.com/joachim-n/drupal-core-development-project puts core in the web subfolder.

Doing it like this means that Drupal core is installed into the project with Composer, which is the way Composer recommends packages are developed.

The advantage is that you can install additional packages and modules (like Drush, admin menu, etc etc) without polluting core's composer files.