-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deploy ga_model_shiny apps? #367
Comments
Shinyapps.io deployments working A googleCloudRunner example needs a Docker with at least googleAnalyticsR and shiny installed. deployed_url can only be seen if domain has been mapped or after first deployment e.g. ga_model_shiny(
ga_model_example("decomp_ga.gamr"),
auth_dropdown = "universal",
template = ga_model_shiny_template("basic_app"),
deployed_url="https://cloudrun-test-ewjogewawq-ew.a.run.app",
local_folder = "cloudrun_test") Copy in Dockerfile and shiny-customised.config
Deploy library(googleCloudRunner)
cr_deploy_run("cloudrun_test/",
remote = "cloudrun_test",
tag = c("latest","$BUILD_ID"),
max_instances = 1, # required for shiny
concurrency = 80,
launch_browser = FALSE) |
Cloud Run working now, included the Docker image from above to make it easier to use which will be included when writing to the local folder,
|
Can write the files to the local folder, but how to deploy it to shinyapps.io etc with:
shinyApp(gar_shiny_ui(ui, login_ui = silent_auth), server)
etc. ?Its ok for Shiny single file app.R which includes it
The text was updated successfully, but these errors were encountered: