Remove Heroku deployment
Browse files- .github/workflows/heroku.yml +0 -16
- Aptfile +0 -1
- Procfile +0 -1
- README.md +1 -37
.github/workflows/heroku.yml
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
name: Deploy to Heroku
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
branches: [ main ]
|
| 6 |
-
|
| 7 |
-
jobs:
|
| 8 |
-
deploy:
|
| 9 |
-
runs-on: ubuntu-latest
|
| 10 |
-
steps:
|
| 11 |
-
- uses: actions/checkout@v2
|
| 12 |
-
- uses: akhileshns/[email protected]
|
| 13 |
-
with:
|
| 14 |
-
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
|
| 15 |
-
heroku_app_name: streamlit-webrtc-example
|
| 16 |
-
heroku_email: ${{ secrets.HEROKU_EMAIL }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Aptfile
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
libgl1
|
|
|
|
|
|
Procfile
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
web: streamlit run --server.port $PORT app.py
|
|
|
|
|
|
README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
| 1 |
# streamlit-webrtc-example
|
| 2 |
|
| 3 |
-
Hosted on Streamlit Cloud: [](https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py) https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py
|
| 4 |
-
|
| 5 |
-
Hosted on Heroku: https://streamlit-webrtc-example.herokuapp.com/
|
| 6 |
|
| 7 |
[](https://ko-fi.com/D1D2ERWFG)
|
| 8 |
|
|
@@ -12,38 +10,4 @@ Hosted on Heroku: https://streamlit-webrtc-example.herokuapp.com/
|
|
| 12 |
|
| 13 |
## Deployment notes
|
| 14 |
|
| 15 |
-
The deployment to Heroku is automated with GitHub actions: [./.github/workflows/heroku.yml](./.github/workflows/heroku.yml).
|
| 16 |
-
|
| 17 |
[Streamlit Cloud](https://streamlit.io/cloud) automatically triggers the deployment on its CI/CD.
|
| 18 |
-
|
| 19 |
-
## Manual deployment to heroku
|
| 20 |
-
### Prerequisites
|
| 21 |
-
1. Set up `heroku` command.
|
| 22 |
-
|
| 23 |
-
2. Add [`heroku-buildpack-apt`](https://github.com/heroku/heroku-buildpack-apt) to buildpacks.
|
| 24 |
-
```shell
|
| 25 |
-
$ heroku buildpacks:add --index 1 heroku-community/apt
|
| 26 |
-
```
|
| 27 |
-
|
| 28 |
-
See
|
| 29 |
-
https://help.heroku.com/IYRYW6VB/how-do-i-install-additional-software-packages-that-my-application-requires
|
| 30 |
-
and
|
| 31 |
-
https://github.com/heroku/heroku-buildpack-apt
|
| 32 |
-
for details.
|
| 33 |
-
|
| 34 |
-
### Deploy
|
| 35 |
-
#### If dependencies have changed, update `requirements.txt`
|
| 36 |
-
1. Update `requirements.txt`.
|
| 37 |
-
```shell
|
| 38 |
-
$ make deps/update
|
| 39 |
-
```
|
| 40 |
-
|
| 41 |
-
2. Commit it.
|
| 42 |
-
```shell
|
| 43 |
-
$ git add requirements.txt
|
| 44 |
-
$ git commit -m "requirements.txt"
|
| 45 |
-
```
|
| 46 |
-
#### Deploy the current branch to Heroku
|
| 47 |
-
```shell
|
| 48 |
-
$ git push heroku <current-branch>:main
|
| 49 |
-
```
|
|
|
|
| 1 |
# streamlit-webrtc-example
|
| 2 |
|
| 3 |
+
Hosted on Streamlit Cloud: [](https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py) https://share.streamlit.io/whitphx/streamlit-webrtc-example/main/app.py
|
|
|
|
|
|
|
| 4 |
|
| 5 |
[](https://ko-fi.com/D1D2ERWFG)
|
| 6 |
|
|
|
|
| 10 |
|
| 11 |
## Deployment notes
|
| 12 |
|
|
|
|
|
|
|
| 13 |
[Streamlit Cloud](https://streamlit.io/cloud) automatically triggers the deployment on its CI/CD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|