-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from NorwegianVeterinaryInstitute/issue-18
resolves #18
- Loading branch information
Showing
3 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
^renv$ | ||
^renv\.lock$ | ||
^renv$ | ||
^renv\.lock$ | ||
^README\.Rmd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
output: github_document | ||
--- | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
```{r, include = FALSE} | ||
knitr::opts_chunk$set( | ||
collapse = TRUE, | ||
comment = "#>", | ||
fig.path = "man/figures/README-", | ||
out.width = "100%" | ||
) | ||
``` | ||
|
||
# Cake Planning at VI | ||
|
||
<!-- badges: start --> | ||
<!-- badges: end --> | ||
|
||
The Cake planning app is a R Shiny application that can be used for planning | ||
cake, coffee, or similar events at a workplace. | ||
|
||
However, its main purpose is pedagogical. We use the app to learn software | ||
development in a team, and specifically how to write [ | ||
production grade shiny apps](https://engineering-shiny.org/), and how to deploy | ||
apps to Posit Connect using CI/CD. | ||
|
||
Initially the app was meant to be an example of how the `pins` package can be | ||
used to read and write that to Posit Connect. But the app has since grown its | ||
teaching domain to include `renv`, `github actions`, `{golem}`, and maybe some other | ||
things. | ||
|
||
## How to run the app | ||
|
||
The main branch of the app is being deployed to Posit Connect, and requires a pin | ||
that is also hosted there. This is why, the app from the main branch won't work for | ||
you if you try to run it. | ||
|
||
We maintain a mostly-up-to-date [local-testing](https://github.com/NorwegianVeterinaryInstitute/cake-planning/tree/local-testing) | ||
branch that works with an in-memory pin using `pins::board_temp()`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
# Cake planning at VI | ||
|
||
This is a sample app to demonstrate use of pins for storing and retreiving data. | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# Cake Planning at VI | ||
|
||
<!-- badges: start --> | ||
<!-- badges: end --> | ||
|
||
The Cake planning app is a R Shiny application that can be used for | ||
planning cake, coffee, or similar events at a workplace. | ||
|
||
However, its main purpose is pedagogical. We use the app to learn | ||
software development in a team, and specifically how to write | ||
[production grade shiny apps](https://engineering-shiny.org/), and how | ||
to deploy apps to Posit Connect using CI/CD. | ||
|
||
Initially the app was meant to be an example of how the `pins` package | ||
can be used to read and write that to Posit Connect. But the app has | ||
since grown its teaching domain to include `renv`, `github actions`, | ||
`{golem}`, and maybe some other things. | ||
|
||
## How to run the app | ||
|
||
The main branch of the app is being deployed to Posit Connect, and | ||
requires a pin that is also hosted there. This is why, the app from the | ||
main branch won’t work for you if you try to run it. | ||
|
||
We maintain a mostly-up-to-date | ||
[local-testing](https://github.com/NorwegianVeterinaryInstitute/cake-planning/tree/local-testing) | ||
branch that works with an in-memory pin using `pins::board_temp()`. |