You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,18 +13,14 @@ DDEV integration for developing Drupal contrib projects. As a general philosophy
13
13
1. If you haven't already, [install Docker and DDEV](https://ddev.readthedocs.io/en/latest/users/install/)
14
14
2.`git clone` your contrib module
15
15
3. cd [contrib module directory]
16
-
4. Configure DDEV for Drupal using `ddev config --project-type=drupal --docroot=web --php-version=8.3 --corepack-enable --project-name=[module]` or select these options when prompted using `ddev config`
17
-
- Remove underscores in the project name, or replace with hyphens. (DDEV will do this for you.)
18
-
- See [Changing the Drupal core version](#changing-the-drupal-core-version) to update your version of Drupal core.
16
+
4. Configure DDEV for Drupal using `ddev config --project-type=drupal --docroot=web --php-version=8.3 --corepack-enable` or select these options when prompted using `ddev config`
19
17
5. Run `ddev add-on get ddev/ddev-drupal-contrib`
20
18
6. Run `ddev start`
21
19
7. Run `ddev poser`
22
20
8. Run `ddev symlink-project`
23
21
9.`ddev config --update` to detect expected Drupal and PHP versions.
24
22
10.`ddev restart`
25
23
26
-
After installation, make sure to commit the `.ddev` directory to version control.
27
-
28
24
## Update
29
25
30
26
```bash
@@ -48,7 +44,7 @@ This project provides the following DDEV container commands.
48
44
-`ddev phpstan`. Run [phpstan](https://phpstan.org) on project files.
49
45
-`ddev eslint` Run [ESLint](https://github.com/eslint/eslint) on JavaScript files.
50
46
-`ddev stylelint` Run [Stylelint](https://github.com/stylelint/stylelint) on CSS files.
51
-
-`ddev core-version`. Update your codebase to newer or older version of Drupal core. [More info](#changing-the-drupal-core-version).
47
+
-`ddev core-version`. Update your codebase to a newer or older version of Drupal core. [More info](#changing-the-drupal-core-version).
52
48
53
49
## Codebase layout
54
50
@@ -103,7 +99,7 @@ Then run `ddev restart` to update the symlink location.
103
99
104
100
To use with Drupal themes, set `DRUPAL_PROJECTS_PATH=themes/custom` in your config.local.yaml.
105
101
106
-
## Example of successful test
102
+
## Example of a successful test
107
103
108
104
This is what a successful test looks like, based on [Config Enforce Devel](https://www.drupal.org/project/config_enforce_devel).
0 commit comments