deploy-the-app.Rmd
library(exploratorium)The aim of this article is to explain you how to deploy the app on shinyapps.io.
The application is continuously deployed on the prevention.shinyapps.io account belonging to PSCH.
main branch can be found at https://prevention.shinyapps.io/exploratorium-dev/
production branch on https://prevention.shinyapps.io/exploratorium/
Two environment variables have to be defined
in.gitlab-ci.yml or in ~/.Renviron for a
manual deployment:
SHINYAPPS_IO_TOKENSHINYAPPS_IO_SECRETValues can be found at https://www.shinyapps.io/admin/#/tokens. You will then
need to click on Show to see the two variables.
To deploy the app manually, you can directly use the script
dev/deploy_app.R in your development environment.
rstudioapi::navigateToFile("dev/deploy_app.R")