Skip to content

Commit

Permalink
Adds Deploy to Connect Cloud buttons to READMEs (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettgman authored Oct 2, 2024
1 parent 37c7178 commit 3fd46bf
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,7 @@ typings/
Untitled*.ipynb

rsconnect-python/

# Deploy to Connect Cloud Button
examples/*/README_FILES/*
examples/*/README.html
3 changes: 3 additions & 0 deletions examples/outputs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Outputs app

<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Foutputs%2Fapp.py&pythonVersion=3.11'><img src='https://cdn.connect.posit.cloud/assets/deploy-to-connect-blue.svg' align="right" /></a>
4 changes: 4 additions & 0 deletions examples/plotly/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Plotly app

<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Fplotly%2Fapp.py&pythonVersion=3.11'><img src='https://cdn.connect.posit.cloud/assets/deploy-to-connect-blue.svg' align="right" /></a>

1 change: 1 addition & 0 deletions examples/plotly/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ ipywidgets
numpy
pandas
plotly
scikit-learn
6 changes: 5 additions & 1 deletion examples/superzip/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Data

The `superzip.csv` is the result of [this script](https://github.com/rstudio/shinycoreci-apps/blob/main/apps/063-superzip-example/global.R)
<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Fsuperzip%2Fapp.py&pythonVersion=3.11'><img src='https://cdn.connect.posit.cloud/assets/deploy-to-connect-blue.svg' align="right" /></a>



The `superzip.csv` is the result of [this script](https://github.com/rstudio/shinycoreci-apps/blob/main/apps/063-superzip-example/global.R)

0 comments on commit 3fd46bf

Please sign in to comment.