Skip to content

Commit b0cc70e

Browse files
authored
Let DDEV determine a project name (#142)
1 parent f4300f8 commit b0cc70e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ 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 --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`
1917
5. Run `ddev add-on get ddev/ddev-drupal-contrib`
2018
6. Run `ddev start`
2119
7. Run `ddev poser`
2220
8. Run `ddev symlink-project`
2321
9. `ddev config --update` to detect expected Drupal and PHP versions.
2422
10. `ddev restart`
2523

26-
After installation, make sure to commit the `.ddev` directory to version control.
27-
2824
## Update
2925

3026
```bash
@@ -48,7 +44,7 @@ This project provides the following DDEV container commands.
4844
- `ddev phpstan`. Run [phpstan](https://phpstan.org) on project files.
4945
- `ddev eslint` Run [ESLint](https://github.com/eslint/eslint) on JavaScript files.
5046
- `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).
5248

5349
## Codebase layout
5450

@@ -103,7 +99,7 @@ Then run `ddev restart` to update the symlink location.
10399

104100
To use with Drupal themes, set `DRUPAL_PROJECTS_PATH=themes/custom` in your config.local.yaml.
105101

106-
## Example of successful test
102+
## Example of a successful test
107103

108104
This is what a successful test looks like, based on [Config Enforce Devel](https://www.drupal.org/project/config_enforce_devel).
109105

0 commit comments

Comments
 (0)