Skip to content

Commit

Permalink
Merge pull request #190 from jaetoole/chore/add-reset-environment-com…
Browse files Browse the repository at this point in the history
…mand

Added in section about resetting local testing environment
  • Loading branch information
RCheesley committed Feb 27, 2024
2 parents 38f51e0 + 47a8f67 commit b073f0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/15.contributing/04.tester/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ mysql_version: "8.0"
7. Remember to make sure you are using dev mode (index_dev.php on the end of the URL)
8. If you make a mistake, open your Gitpod dashboard and delete the instance and start again.

#### Resetting your local testing environment

To quickly reset your local testing environment by deleting the DDEV containers without a database snapshot, removing the cache directory, and removing the `local.php` file you can run `ddev delete --omit-snapshot --yes && rm -rf var/cache && rm app/config/local.php`. Note that from Mautic 5, the location of the local.php file is now `config/local.php`.

## Setting up a local testing environment

### Prerequisites
Expand Down

0 comments on commit b073f0d

Please sign in to comment.