Skip to content

Commit

Permalink
Create TESTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds authored Nov 17, 2023
1 parent 7d2346d commit 3209514
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/TESTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Testing

# Manual testing

## Local development

To test against a local instance of the WPVIP API, you can use the `API_HOST` environment variable. Unset the `VIP_PROXY` variable as well.

Examples:

```bash
VIP_PROXY="" API_HOST=http://localhost:4000 node ./dist/bin/vip

VIP_PROXY="" API_HOST=http://localhost:4000 node ./dist/bin/vip app

VIP_PROXY="" API_HOST=http://localhost:4000 node ./dist/bin/vip -- wp option get home
```

0 comments on commit 3209514

Please sign in to comment.