Merge pull request 'docs: Add docs for local stripe development' (#87) from docs/stripe-dev into main
Reviewed-on: #87 Reviewed-by: jleibl <jleibl@proton.me>
This commit is contained in:
commit
c42c5577cf
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -90,6 +90,20 @@ npm run dev
|
||||||
|
|
||||||
The frontend will be available at http://localhost:4200
|
The frontend will be available at http://localhost:4200
|
||||||
|
|
||||||
|
### Local Stripe integration
|
||||||
|
1. Install the Stripe CLI
|
||||||
|
https://stripe.com/docs/stripe-cli
|
||||||
|
|
||||||
|
2. Login to the casino stripe account
|
||||||
|
```
|
||||||
|
stripe login --api-key <casino-stripe-secret-key>
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Start webhook forwarding
|
||||||
|
```
|
||||||
|
stripe listen --forward-to localhost:8080/webhook
|
||||||
|
```
|
||||||
|
|
||||||
## Database Management
|
## Database Management
|
||||||
|
|
||||||
### Postgres Management
|
### Postgres Management
|
||||||
|
|
Reference in a new issue