Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

joachim-n
Copy link

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

@justafish
Copy link
Owner

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 👍

@justafish justafish closed this Oct 7, 2024
@joachim-n
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants