workoutwizard / README.md
whitphx's picture
whitphx HF staff
Update README.md
aa173bd
|
raw
history blame
814 Bytes

streamlit-webrtc-example

Manual deployment to heroku

Prerequisites

  1. Set up heroku command.

  2. 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.

Deploy

If dependencies have changed, update requirements.txt

  1. Generate requirements.txt.

    $ pipreqs . --force
    
  2. Commit it.

    $ git add requirements.txt
    $ git commit -m "requirements.txt"
    

Deploy the current branch to Heroku

$ git push heroku <current-branch>:main