diff --git a/content/language/r/develop.md b/content/language/r/develop.md index 0e3fccfb85..3ae72bde4a 100644 --- a/content/language/r/develop.md +++ b/content/language/r/develop.md @@ -34,8 +34,6 @@ To try the connection between the Shiny application and the local database you h +RUN src_db/ . ``` - - ## Add a local database and persist data You can use containers to set up local services, like a database. In this section, you'll update the `compose.yaml` file to define a database service and a volume to persist data. @@ -147,10 +145,10 @@ Use Compose Watch to automatically update your running Compose services as you edit and save your code. For more details about Compose Watch, see [Use Compose Watch](../../compose/file-watch.md). -Open your `compose.yaml` file in an IDE or text editor and then add the Compose -Watch instructions. The following is the updated `compose.yaml` file. +Lines 15 to 18 in the `compose.yaml` file contain properties that trigger Docker +to rebuild the image when a file in the current working directory is changed: -```yaml {hl_lines="15-18"} +```yaml {hl_lines="15-18",linenos=true} services: shiny-app: build: diff --git a/hugo_stats.json b/hugo_stats.json index c70a442443..5738f8fb0c 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -270,6 +270,8 @@ "lg:px-4", "lg:w-full", "link", + "lntable", + "lntd", "m-auto", "max-h-full", "max-w-56",