Skip to content

Commit

Permalink
Merge pull request #42 from NorwegianVeterinaryInstitute/issue-18
Browse files Browse the repository at this point in the history
resolves #18
  • Loading branch information
trishangu authored Oct 8, 2024
2 parents 05aab12 + 29abe1a commit 3b64594
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
^renv$
^renv\.lock$
^renv$
^renv\.lock$
^README\.Rmd$
41 changes: 41 additions & 0 deletions README.Rmd
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()`.
33 changes: 30 additions & 3 deletions README.md
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()`.

0 comments on commit 3b64594

Please sign in to comment.