Skip to content

Commit 7432399

Browse files
authored
In README.md, make it easier to copy the commands to run them all at once. (#153)
1 parent 693490d commit 7432399

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,19 @@ DDEV integration for developing Drupal contrib projects. As a general philosophy
1313
1. If you haven't already, [install Docker and DDEV](https://ddev.readthedocs.io/en/latest/users/install/)
1414
2. `git clone` your contrib module
1515
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` or select these options when prompted using `ddev config`
17-
5. Run `ddev add-on get ddev/ddev-drupal-contrib`
18-
6. Run `ddev start`
19-
7. Run `ddev poser`
20-
8. Run `ddev symlink-project`
21-
9. `ddev config --update` to detect expected Drupal and PHP versions.
22-
10. `ddev restart`
16+
4. Execute the commands below, adjust as needed.
17+
18+
```sh
19+
# Configure DDEV for Drupal, or use interactive mode.
20+
ddev config --project-type=drupal --docroot=web --php-version=8.3 --corepack-enable
21+
ddev add-on get ddev/ddev-drupal-contrib
22+
ddev start
23+
ddev poser
24+
ddev symlink-project
25+
# Detect expected Drupal and PHP versions.
26+
ddev config --update
27+
ddev restart
28+
```
2329

2430
## Update
2531

0 commit comments

Comments
 (0)