Skip to content

Commit

Permalink
Merge pull request #210 from roodjong/ngrok
Browse files Browse the repository at this point in the history
README.md: add instructions for ngrok
  • Loading branch information
pingiun authored Nov 17, 2024
2 parents bf8a890 + 6e54546 commit 0f52137
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@ Member level:
- Password: `new_member`
- Member off: `Nooderhaaks`

## Ngrok for local payment testing

- Register an account at ngrok.com
- Install the ngrok client using your distributions package manager or download.ngrok.com/linux
- Find your authentication token at dashboard.ngrok.com/get-started/your-authtoken and register it with your client:
`ngrok config add-authtoken <YOUR AUTH TOKEN HERE>`
- Start ngrok:
`ngrok http 8080`
- Set `COOKIE_DOMAIN` to the domain (without http(s)://) mentioned in the `Forwarding` row in `.env.local`:
`COOKIE_DOMAIN=<YOUR URL HERE>.ngrok-free.app`
- Open the URL mentioned in the `Forwarding` row instead of `localhost:8080`.

## Server deployment

To deploy updates on the server:
Expand Down

0 comments on commit 0f52137

Please sign in to comment.