Skip to content

Commit

Permalink
Update bedrock.md (#23)
Browse files Browse the repository at this point in the history
Clarify DB credentials; Update WP_SITEURL to append /wp, as that is the default for Bedrock.
  • Loading branch information
petarmihaylov authored Aug 12, 2024
1 parent b8b957a commit 9d9344c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions content/guides/bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In Cleavr, provision a new server.

Once the server has completed setup, add a new **PHP** site to the server and enter `web` for the **Web Directory**.

Also, select the advance option to also create a database during site creation. Remember the database details as you'll need to add them later to the environment section.
Also, select the advance option to also create a database during site creation. **Remember the database details as you'll need to add them later to the environment section**.

### Step 4: Configure Deployment Workflow Code Repository

Expand All @@ -46,6 +46,7 @@ On the **Environment** tab, add in the `.env` variables.
They should look something like the following.

```
# You created the DB, DB_USER, and DB_PASSWORD when you created the Site in Cleavr. Do not use your local Bedrock development database credentials.
DB_NAME='bedrock database name'
DB_USER='user'
DB_PASSWORD='password'
Expand All @@ -60,7 +61,7 @@ DB_PREFIX='wp_'
WP_ENV='development'
WP_HOME='https://example.com'
WP_SITEURL="${WP_HOME}"
WP_SITEURL="${WP_HOME}/wp"
# Specify optional debug.log path
# WP_DEBUG_LOG='/path/to/debug.log'
Expand Down

0 comments on commit 9d9344c

Please sign in to comment.