Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Python/bump flask (#93)
Browse files Browse the repository at this point in the history
* Bump Flask version and add .flaskenv file.

* Remove FLASK_APP from README.
  • Loading branch information
thorsten-stripe authored Jan 9, 2020
1 parent 27bdfd8 commit 70ba859
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions server/python/.flaskenv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FLASK_APP=app.py
FLASK_ENV=development
2 changes: 1 addition & 1 deletion server/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ pip install -r requirements.txt
Export our Flask app and run!

```
export FLASK_APP=app.py
flask run
```

Expand All @@ -70,6 +69,7 @@ We can use the Stripe CLI to forward webhook events to our local development ser
```
stripe listen --forward-to http://localhost:5000/webhook
```

> **Note:** You do not need to configure any webhook endpoints in your Dashboard to receive webhooks with the CLI.
The Stripe CLI will let you know that webhook forwarding is ready and output your webhook signing secret:
Expand Down
4 changes: 2 additions & 2 deletions server/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ attrs==17.4.0
certifi==2018.1.18
chardet==3.0.4
click==6.7
Flask==0.12.4
Flask==1.1.1
gunicorn==19.7.1
idna==2.6
idna-ssl==1.1.0
Expand All @@ -22,5 +22,5 @@ six==1.11.0
stripe==2.12.0
tornado==5.0.2
urllib3==1.24.2
Werkzeug==0.14.1
Werkzeug==0.15.3
yarl==1.1.1

0 comments on commit 70ba859

Please sign in to comment.