Skip to content

Commit

Permalink
DDEV project type is always 'drupal' (#62)
Browse files Browse the repository at this point in the history
* DDEV project should be always 'drupal'

* Improve the troubleshooting section

* More improvements

* Fixing some wording

* More. Sorry...

* Update README.md

* Don't specify Drupal version
  • Loading branch information
claudiu-cristea authored Jun 10, 2024
1 parent 5afeeab commit 03ebd77
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DDEV integration for developing Drupal contrib projects. As a general philosophy
1. If you haven't already, [install Docker and DDEV](https://ddev.readthedocs.io/en/latest/users/install/)
2. `git clone` your contrib module
3. cd [contrib module directory]
4. Configure DDEV for Drupal 10 using `ddev config --project-name=[contrib module] --docroot=web --php-version=8.1` or select these options when prompted using `ddev config`
4. Configure DDEV for Drupal using `ddev config --project-name=[contrib module] --project-type=drupal --docroot=web --php-version=8.2` or select these options when prompted using `ddev config`
- Remove underscores in the project name, or replace with hyphens.
- See [Misc](#misc) for help on using alternate versions of Drupal core.
5. Run `ddev get ddev/ddev-drupal-contrib`
Expand Down Expand Up @@ -105,11 +105,12 @@ ddev phpcbf -q

"Error: unknown command":

The commands from this addon are available when the project type a valid `drupal` type.
Below, is an example `.ddev/config.yaml` for a Drupal 10 project.
The commands from this addon are available when the project type is `drupal`. Make sure the `type` configuration is correctly set in `.ddev/config.yaml`:

```yaml
type: drupal10
type: drupal
```
Don't forget to run `ddev restart` if `.ddev/config.yaml` has been updated.

**Contributed and maintained by [@weitzman](https://github.com/weitzman)**

0 comments on commit 03ebd77

Please sign in to comment.