From 6786aa6e0e485af71f06f4e759d2e873390e8a03 Mon Sep 17 00:00:00 2001 From: cisaacstern <62192187+cisaacstern@users.noreply.github.com> Date: Sat, 14 Nov 2020 09:33:10 -0800 Subject: [PATCH] Added explicit python versioning b/c heroku default was building blank apps. --- README.md | 2 ++ runtime.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 runtime.txt diff --git a/README.md b/README.md index 777c090..aaab6ed 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,5 @@ git push heroku master ## Modifying the app In order to serve your own app simply replace the `iris_kmeans.ipynb` with your own Jupyter notebook or Python file declaring a Panel app and then modify the `Procfile` to start that app instead. + +The file `runtime.txt` specifies the python version which heroku will use to build the app. If your app requires a version other than `python-3.7.9`, first confirm [here](https://devcenter.heroku.com/articles/python-support#specifying-a-python-version) that the version is supported by heroku, and then modify `runtime.txt` accordingly. diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..795ee72 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +python-3.7.9