Sample page hosted on Heroku: https://streamlit-webrtc-example.herokuapp.com/
The Deployment is automated with GitHub actions: ./.github/workflows/heroku.yml
-
Set up
heroku
command. -
Add
heroku-buildpack-apt
to buildpacks.$ heroku buildpacks:add --index 1 heroku-community/apt
See https://help.heroku.com/IYRYW6VB/how-do-i-install-additional-software-packages-that-my-application-requires and https://github.com/heroku/heroku-buildpack-apt for details.
-
Update
requirements.txt
.$ make deps/update
-
Commit it.
$ git add requirements.txt $ git commit -m "requirements.txt"
$ git push heroku <current-branch>:main