Skip to content

Commit

Permalink
Finished {golem} intro slides
Browse files Browse the repository at this point in the history
  • Loading branch information
mthomas-ketchbrook committed Sep 8, 2023
1 parent 4e513da commit 6a0dca7
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions materials/d1-02-structure/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,46 @@ Prototype apps can coast by with a single `app.R`
+ The `R` directory is where all of the logic lives (your modules, custom functions, and UI/Server scripts)
:::

## Getting Started with {golem}

Use helper functions in `dev/01_start.R` to...

* Create `DESCRIPTION`, `README`, `LICENSE` (etc.) files
* Use git, tests
* Add your own favicon 🚀

::: {.notes}
- This file and the functions it includes help you manage things at the *project*-level
:::

## Developing with {golem}

Use the helper functions in `dev/02_dev.R` to...

* Add R package dependencies
* Create custom functions
* Add Shiny modules

. . .

And use `dev/run_dev.R` to run your app

::: {.notes}
- As you run these functions and watch in awe as your `DESCRIPTION` file changes automatically, as new .R files magically appear out of thin air that have already handled all of the tricky parts for you, you too will realize that {golem} is the ChatGPT of Shiny development
:::

## Deploying with {golem}

Use the helper functions in `dev/03_deploy.R` to...

* Check your R package ( `devtools::check()` )
* Build your R package ( `R CMD build mypackage` )
* Generate deployment files for
+ RStudio Connect
+ Shinyapps.io
+ Your own Shiny Server
+ Dockerized deployments (e.g., ShinyProxy)

# All About Modules

## What are Modules?
Expand Down

0 comments on commit 6a0dca7

Please sign in to comment.