Wondering if this fix is PR-worthy, or just some strange edge case I’ve stumbled upon.
git clone mininal-heroku-demo and deploy locally with
panel serve, the dashboard renders as expected. When I deploy to heroku as described in the README, however, the resulting heroku web app is just a blank page.
Comparing the heroku build log (and docs) with my local env, I noticed that heroku builds with python 3.6.12 by default, but that my local env was running python 3.7.9.
runtime.txt file with the contents
python-3.7.9 to the build directory fixed this problem for me, and resulted in a functioning heroku deployment.
Wondering if anyone else has encountered this issue? Is it general enough to merit a PR on the heroku demo repo? Could be as simple as a note in the README.md. Happy to submit one if so.