Skip to content

Commit

Permalink
update 'run the example app' in readme (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
stayingqold authored Jul 11, 2023
1 parent bf9b83e commit 9864b47
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,16 @@ Future<void> onGooglePayResult(paymentResult) async {
- [Get your test Stripe API keys](https://stripe.com/docs/keys)
- `cp lib/.env.example.dart lib/.env.dart` and set your Stripe publishable key.
- `cp server/.env.example server/.env` and set the variable values in your newly created `.env` file.
- Install the server dependencies: `npm install` or `yarn --cwd "server"`
- Install the server dependencies in the `server` directory:
* `cd server`
* `npm install` or `yarn --cwd "server"`
- Start the example
- Terminal 1: `npm start` or `yarn --cwd "server" start`
- Terminal 2: `flutter run`
- Terminal 1:
* Move to the `server` directory: `cd server`
* Run npm or yarn: `npm start` or `yarn --cwd "server" start`
- Terminal 2:
* Move to the `lib` directory: `cd lib`
* Run flutter: `flutter run`

##### Additional steps for webhook forwarding

Expand Down

0 comments on commit 9864b47

Please sign in to comment.