Skip to content

Commit

Permalink
Adds Deploy to Connect Cloud buttons to READMEs (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettgman authored Oct 2, 2024
1 parent 8bcea25 commit 4f118e4
Show file tree
Hide file tree
Showing 17 changed files with 60 additions and 1 deletion.
4 changes: 4 additions & 0 deletions basic-app-plot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Basic plot app

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

3 changes: 3 additions & 0 deletions basic-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Basic app

<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shiny-templates&sourceRef=main&sourceRefType=branch&primaryFile=basic-app%2Fapp-express.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 basic-navigation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Basic navigation app

<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shiny-templates&sourceRef=main&sourceRefType=branch&primaryFile=basic-navigation%2Fapp-express.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 basic-sidebar/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Basic sidebar app

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

8 changes: 7 additions & 1 deletion dashboard-tips/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
This template gives you a more "complete" dashboard for exploring the tips dataset. For an overview of what's here, visit [this article](https://shiny.posit.co/py/docs/user-interfaces.html).
## Dashboard tips app

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



This template gives you a more "complete" dashboard for exploring the tips dataset. For an overview of what's here, visit [this article](https://shiny.posit.co/py/docs/user-interfaces.html).
4 changes: 4 additions & 0 deletions dashboard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Dashboard app

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

3 changes: 3 additions & 0 deletions database-explorer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Database explorer app

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

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

<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shiny-templates&sourceRef=main&sourceRefType=branch&primaryFile=model-scoring%2Fapp-core.py&pythonVersion=3.11'><img src='https://cdn.connect.posit.cloud/assets/deploy-to-connect-blue.svg' align="right" /></a>
3 changes: 3 additions & 0 deletions monitor-database/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Database monitoring

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


Shiny allows you to reactively update your app whenever an external data source changes.
This application simulates that situation by writing data to a sqlite database after a random time period.
Shiny polls the database every second to see if there is any new data, and if there it pulls the updated data and refreshes any elements which depend on that data.
Expand Down
3 changes: 3 additions & 0 deletions monitor-file/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Monitor file app

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

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

This implements an app which watches a folder to allow users to view and download log files.
The application polls `watch_folder` every second and refreshes when a new file is added to the folder.
This is a useful pattern when your application consumes files which are provided by some other system like an Airflow pipeline.
Expand Down
4 changes: 4 additions & 0 deletions nba-dashboard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## NBA dashboard app

<a href='https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shiny-templates&sourceRef=main&sourceRefType=branch&primaryFile=nba-dashboard%2Fapp-express.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 regularization/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Regularization app

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

3 changes: 3 additions & 0 deletions stock-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Stock app

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

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


This application shows how you would build a multi-page wizard app in Shiny.
This is useful for large apps which have a natural progression from page-to-page.
It illustrates a few Shiny techniques:
Expand Down
3 changes: 3 additions & 0 deletions survey/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Survey app

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

0 comments on commit 4f118e4

Please sign in to comment.