diff --git a/materials/setup-resources/assets/screenshots/account_integrate_1.png b/materials/setup-resources/assets/screenshots/account_integrate_1.png index 96e9c73..99c863f 100644 Binary files a/materials/setup-resources/assets/screenshots/account_integrate_1.png and b/materials/setup-resources/assets/screenshots/account_integrate_1.png differ diff --git a/materials/setup-resources/assets/screenshots/account_integrate_2.png b/materials/setup-resources/assets/screenshots/account_integrate_2.png index 4cbd766..49fb5a7 100644 Binary files a/materials/setup-resources/assets/screenshots/account_integrate_2.png and b/materials/setup-resources/assets/screenshots/account_integrate_2.png differ diff --git a/materials/setup-resources/assets/screenshots/account_integrate_3.png b/materials/setup-resources/assets/screenshots/account_integrate_3.png index 302a916..9a197bc 100644 Binary files a/materials/setup-resources/assets/screenshots/account_integrate_3.png and b/materials/setup-resources/assets/screenshots/account_integrate_3.png differ diff --git a/materials/setup-resources/assets/screenshots/account_integrate_4.png b/materials/setup-resources/assets/screenshots/account_integrate_4.png index 2696b09..5022ee9 100644 Binary files a/materials/setup-resources/assets/screenshots/account_integrate_4.png and b/materials/setup-resources/assets/screenshots/account_integrate_4.png differ diff --git a/materials/setup-resources/assets/screenshots/account_integrate_5.png b/materials/setup-resources/assets/screenshots/account_integrate_5.png index c1729a8..c53b8be 100644 Binary files a/materials/setup-resources/assets/screenshots/account_integrate_5.png and b/materials/setup-resources/assets/screenshots/account_integrate_5.png differ diff --git a/materials/setup-resources/assets/screenshots/account_integrate_6.png b/materials/setup-resources/assets/screenshots/account_integrate_6.png new file mode 100644 index 0000000..c65fb4d Binary files /dev/null and b/materials/setup-resources/assets/screenshots/account_integrate_6.png differ diff --git a/materials/setup-resources/assets/screenshots/pscloud_1.png b/materials/setup-resources/assets/screenshots/pscloud_1.png new file mode 100644 index 0000000..7ae495c Binary files /dev/null and b/materials/setup-resources/assets/screenshots/pscloud_1.png differ diff --git a/materials/setup-resources/assets/screenshots/pscloud_2.png b/materials/setup-resources/assets/screenshots/pscloud_2.png new file mode 100644 index 0000000..e60e100 Binary files /dev/null and b/materials/setup-resources/assets/screenshots/pscloud_2.png differ diff --git a/materials/setup-resources/assets/screenshots/pscloud_3.png b/materials/setup-resources/assets/screenshots/pscloud_3.png new file mode 100644 index 0000000..32c6e80 Binary files /dev/null and b/materials/setup-resources/assets/screenshots/pscloud_3.png differ diff --git a/materials/setup-resources/assets/screenshots/pscloud_4.png b/materials/setup-resources/assets/screenshots/pscloud_4.png new file mode 100644 index 0000000..f3cfcff Binary files /dev/null and b/materials/setup-resources/assets/screenshots/pscloud_4.png differ diff --git a/materials/setup-resources/assets/screenshots/rsconnect_apikey_1.png b/materials/setup-resources/assets/screenshots/psconnect_apikey_1.png similarity index 100% rename from materials/setup-resources/assets/screenshots/rsconnect_apikey_1.png rename to materials/setup-resources/assets/screenshots/psconnect_apikey_1.png diff --git a/materials/setup-resources/assets/screenshots/rsconnect_apikey_2.png b/materials/setup-resources/assets/screenshots/psconnect_apikey_2.png similarity index 100% rename from materials/setup-resources/assets/screenshots/rsconnect_apikey_2.png rename to materials/setup-resources/assets/screenshots/psconnect_apikey_2.png diff --git a/materials/setup-resources/assets/screenshots/rsconnect_apikey_3.png b/materials/setup-resources/assets/screenshots/psconnect_apikey_3.png similarity index 100% rename from materials/setup-resources/assets/screenshots/rsconnect_apikey_3.png rename to materials/setup-resources/assets/screenshots/psconnect_apikey_3.png diff --git a/materials/setup-resources/assets/screenshots/psconnect_login_1.png b/materials/setup-resources/assets/screenshots/psconnect_login_1.png new file mode 100644 index 0000000..aa3b408 Binary files /dev/null and b/materials/setup-resources/assets/screenshots/psconnect_login_1.png differ diff --git a/materials/setup-resources/assets/screenshots/rsconnect_login_2.png b/materials/setup-resources/assets/screenshots/psconnect_login_2.png similarity index 100% rename from materials/setup-resources/assets/screenshots/rsconnect_login_2.png rename to materials/setup-resources/assets/screenshots/psconnect_login_2.png diff --git a/materials/setup-resources/assets/screenshots/psconnect_login_3.png b/materials/setup-resources/assets/screenshots/psconnect_login_3.png new file mode 100644 index 0000000..4893d7f Binary files /dev/null and b/materials/setup-resources/assets/screenshots/psconnect_login_3.png differ diff --git a/materials/setup-resources/index.qmd b/materials/setup-resources/index.qmd index aa4b084..f1ecafd 100644 --- a/materials/setup-resources/index.qmd +++ b/materials/setup-resources/index.qmd @@ -16,25 +16,29 @@ format: # Create Posit Connect Account -## {background-image="assets/screenshots/rsconnect_login_1.png" background-size="contain"} +## {background-image="assets/screenshots/psconnect_login_1.png" background-size="contain"} -## {background-image="assets/screenshots/rsconnect_login_2.png" background-size="contain"} +## {background-image="assets/screenshots/psconnect_login_2.png" background-size="contain"} + +## {background-image="assets/screenshots/psconnect_login_3.png" background-size="contain"} # Create Posit Connect API Key -## {background-image="assets/screenshots/rsconnect_apikey_1.png" background-size="contain"} +## {background-image="assets/screenshots/psconnect_apikey_1.png" background-size="contain"} -## {background-image="assets/screenshots/rsconnect_apikey_2.png" background-size="contain"} +## {background-image="assets/screenshots/psconnect_apikey_2.png" background-size="contain"} -## {background-image="assets/screenshots/rsconnect_apikey_3.png" background-size="contain"} +## {background-image="assets/screenshots/psconnect_apikey_3.png" background-size="contain"} # Posit Cloud Setup -## {background-image="assets/screenshots/rscloud_1.png" background-size="contain"} +## {background-image="assets/screenshots/pscloud_1.png" background-size="contain"} + +## {background-image="assets/screenshots/pscloud_2.png" background-size="contain"} -## {background-image="assets/screenshots/rscloud_2.png" background-size="contain"} +## {background-image="assets/screenshots/pscloud_3.png" background-size="contain"} -## {background-image="assets/screenshots/rscloud_3.png" background-size="contain"} +## {background-image="assets/screenshots/pscloud_4.png" background-size="contain"} # Account Integrations @@ -47,3 +51,5 @@ format: ## {background-image="assets/screenshots/account_integrate_4.png" background-size="contain"} ## {background-image="assets/screenshots/account_integrate_5.png" background-size="contain"} + +## {background-image="assets/screenshots/account_integrate_6.png" background-size="contain"} \ No newline at end of file diff --git a/setup.qmd b/setup.qmd index d6dbc08..db0b9b1 100644 --- a/setup.qmd +++ b/setup.qmd @@ -21,7 +21,7 @@ In the first session of the workshop, we will allocate time for everyone to conf ## Local Clone of Repository -If we encounter any technical issues with the cloud-based environments, it is a good idea to have a clone of this repository on your local laptop as a backup. +If we encounter any technical issues with the cloud-based environments, it is a good idea to have a clone of the workshop repository on your local laptop as a backup. If you already have Git installed, you can clone the repository from , or without Git you can download the repository using [this link](https://github.com/posit-conf-2023/shiny-r-prod/archive/refs/heads/main.zip). ## Environment Configuration @@ -37,7 +37,7 @@ Please view the information in the callouts below for step-by-step instructions ``` -1. Create an account on the workshop RStudio Connect server by visiting [{{< var rsconnect_url >}}]({{< var rsconnect_url >}}) and clicking the **login** link in the upper right corner. +1. Create an account on the workshop Posit Connect server by visiting [{{< var rsconnect_url >}}]({{< var rsconnect_url >}}) and clicking the **login** link in the upper right corner. 1. You will see a window that asks for either an email/password or to use a GitHub account. Please choose the GitHub option and follow the instructions to authorize Posit Connect to your GitHub account. 1. You should now be logged in to Posit Connect. Please create an API key for your account by following the Posit Connect User Guide instructions on [creating an API key](https://docs.posit.co/connect/user/api-keys/). Save it to a secure place as you will need it for account integration. @@ -80,8 +80,13 @@ You can workshop materials using the following procedure: ## Docker Container with Visual Studio Code & RStudio -The repository for this workshop also gives you the ability to create custom Docker containers to encapsulate a complete R development environment tailored to this workshop. +The repository for this workshop also gives you the ability to create custom Docker containers to encapsulate a complete R development environment tailored to this workshop. This workshop repository uses a similar container definition as found at . At a high level, you will need an installation of Visual Studio Code with the Remote Development extension. +1. Visit the workshop repository at and either clone to your local machine with Git or download a `zip` archive of the materials. A direct link to the archive is [here](https://github.com/posit-conf-2023/shiny-r-prod/archive/refs/heads/main.zip). +1. Within the `.devcontainer` subdirectory, create a new file called `.env` based on the template provided at `.env.example`. In this file, change the value of the environment variable `RENV_PATHS_CACHE_HOST` to the deisred directory on your system. +1. Launch Visual Studio Code and open the folder of your local copy of the workshop repository. +1. You will be prompted to re-open the folder to begin the container build process. Note that this process can take a few minutes depending on your computer's hardware specifications and network bandwidth. +1. Once the development container is built, you are free to continue using Visual Studio Code or use a container version of the RStudio open source server by visiting `localhost:4567` in your web browser. * If using visual studio code, the user needs to add the renv library path to their `r.libPaths` setting in the R extension. Details at https://github.com/REditorSupport/vscode-R/wiki/Working-with-renv-enabled-projects . ::: \ No newline at end of file