Skip to content

Commit

Permalink
doc: instructions for installing "source" packages (#641)
Browse files Browse the repository at this point in the history
As of WordPress 6.0, the behavior changed so add a note about it.
  • Loading branch information
rkaiser0324 authored Jun 13, 2022
1 parent 2762d0a commit 8ec8ca8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](htt
```sh
$ composer create-project roots/bedrock
```
By default, this installs the `dist` version of all dependent packages. To install the `source` versions instead, update `composer.json` as follows:
```json
"preferred-install": {
"roots/wordpress-no-content": "dist",
"*": "source"
},
```
2. Update environment variables in the `.env` file. Wrap values that may contain non-alphanumeric characters with quotes, or they may be incorrectly parsed.

- Database variables
Expand Down

0 comments on commit 8ec8ca8

Please sign in to comment.