Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
# python-flask-server

## Heroku deployment

This app targets the `heroku-26` stack and Python 3.12. Heroku uses the
`app.json` stack for Review Apps and Heroku CI, and `.python-version` keeps the
Python major version consistent while allowing automatic patch updates.

To upgrade the existing Cedar app, change its stack before the next deployment:

```sh
heroku stack:set heroku-26 --app easyeyes-python-flask-server
```

The next build uses Heroku-26. Confirm the deployed stack and Python version
afterward:

```sh
heroku stack --app easyeyes-python-flask-server
heroku run python --version --app easyeyes-python-flask-server
```
4 changes: 4 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "EasyEyes Python Flask Server",
"stack": "heroku-26"
}