Skip to content

Commit 3605eeb

Browse files
committed
Added installation instructions for use with justafish/ddev-drupal-core-dev.
1 parent 77407bb commit 3605eeb

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ https://www.drupal.org/project/drupal/issues/1792310.
2323

2424
## Installation
2525

26+
### Basic installation
27+
2628
To install a Drupal project for working on Drupal core:
2729

2830
```
@@ -53,7 +55,22 @@ $ ddev config --update
5355
$ ddev restart
5456
```
5557

56-
### Installing other packages
58+
### Installation on DDEV with the justafish/ddev-drupal-core-dev DDEV addon
59+
60+
To use the justafish/ddev-drupal-core-dev DDEV addon, you need to make the
61+
following changes to the installation instructions for that addon:
62+
63+
- For `ddev config`, specify --project-type=drupal
64+
- Do `composer install` before doing `ddev get justafish/ddev-drupal-core-dev`
65+
- Do `ln -s web/autoload.php .` so the addon's `ddev drupal` command find the
66+
autoloader. (There is a merge request to remove the need for this:
67+
https://github.com/justafish/ddev-drupal-core-dev/pull/35)
68+
- DO NOT do `drupal install`. Instead, do `ddev drush si --db-url=sqlite://sites/default/files/.ht.sqlite?module=sqlite -y`
69+
(You might need to manually create web/sites/default/files first)
70+
The `drupal install` command does not work when the drupal package is
71+
symlinked in by Composer.
72+
73+
## Installing other packages
5774

5875
You can install any Composer package as you would with a normal project. This
5976
will not affect Drupal core.
@@ -70,7 +87,7 @@ satisfying the dependency. You can either:
7087
- Define the version in the `repositories` section of the project composer.json.
7188
- Define a branch alias in the project composer.json.
7289

73-
#### Installing other packages from path repositories
90+
### Installing other packages from path repositories
7491

7592
You can install additional packages from a path repository, in the same way that
7693
Drupal core is installed (although other packages will no require all the tweaks

0 commit comments

Comments
 (0)